summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/ReflectionUtil.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-30 06:08:14 +0100
committerSven Gothel <[email protected]>2019-03-30 06:08:14 +0100
commitecb65c39a6902158ed824348a23dbbcb42a85f01 (patch)
tree6b3fe22223a96cc6fed7c894e5d9f816dece3fa0 /src/java/com/jogamp/common/util/ReflectionUtil.java
parent03bcef96e3105923ccc8c827b70b97ff0aa3464c (diff)
Bug 1366 - Use String.format((Locale)null, "..." ..) avoiding Locale output for System related Operations
Diffstat (limited to 'src/java/com/jogamp/common/util/ReflectionUtil.java')
-rw-r--r--src/java/com/jogamp/common/util/ReflectionUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/ReflectionUtil.java b/src/java/com/jogamp/common/util/ReflectionUtil.java
index 7e8ae63..0d76827 100644
--- a/src/java/com/jogamp/common/util/ReflectionUtil.java
+++ b/src/java/com/jogamp/common/util/ReflectionUtil.java
@@ -42,6 +42,7 @@ import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
@@ -92,7 +93,7 @@ public final class ReflectionUtil {
public int count;
@Override
public String toString() {
- return String.format("%8.3f ms, %03d invoc, %s", nanoCosts/1e6, count, name);
+ return String.format((Locale)null, "%8.3f ms, %03d invoc, %s", nanoCosts/1e6, count, name);
}
}
public static void resetForNameCount() {