aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-30 06:09:52 +0100
committerSven Gothel <[email protected]>2019-03-30 06:09:52 +0100
commit31869130c3580a1a1c9e2f57e48d5712a3eebda1 (patch)
treea559bf7455913f2c7621f8e15cfa10c4867ee532 /src/jogl/classes/com/jogamp/opengl/util
parentb83a912f19685e81b71c950914f0f82cc0e534bf (diff)
Bug 1366 - Use String.format((Locale)null, "..." ..) avoiding Locale output for System related Operations
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java b/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java
index 41b969551..c2da68cd9 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java
@@ -33,6 +33,7 @@ import jogamp.opengl.FPSCounterImpl;
import java.io.PrintStream;
import java.util.ArrayList;
+import java.util.Locale;
import com.jogamp.opengl.GLAnimatorControl;
import com.jogamp.opengl.GLAutoDrawable;
@@ -151,7 +152,7 @@ public abstract class AnimatorBase implements GLAnimatorControl {
*/
protected final synchronized void initImpl(final boolean force) {
if( force || null == impl ) {
- final String seqSuffix = String.format("#%02d", seqInstanceNumber++);
+ final String seqSuffix = String.format((Locale)null, "#%02d", seqInstanceNumber++);
if( useAWTAnimatorImpl( modeBits ) ) {
try {
impl = (AnimatorImpl) awtAnimatorImplClazz.newInstance();