Skip to content

Commit 09ef3f9

Browse files
committed
Remove US Locale from DefaultMessageFormatter.java
1 parent 88d59db commit 09ef3f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pulsar-testclient/src/main/java/org/apache/pulsar/testclient/DefaultMessageFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private String getFloatValue(float size) {
9090
return String.valueOf(r.nextFloat());
9191
}
9292
String format = "%" + size + "f";
93-
return String.format(Locale.US, format, get_FloatValue(size));
93+
return String.format(format, get_FloatValue(size));
9494
}
9595

9696
private String getIntValue(float size) {

0 commit comments

Comments
 (0)