From 900b2a73b2d0b6f934718ac88015151c5bf7ccb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 16 Apr 2012 00:13:17 +0200 Subject: StringBuffer -> StringBuilder (Local objects, no concurrency) --- src/java/jogamp/android/launcher/ActivityLauncher.java | 2 +- .../common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/jogamp') diff --git a/src/java/jogamp/android/launcher/ActivityLauncher.java b/src/java/jogamp/android/launcher/ActivityLauncher.java index 3dc776d..7506803 100644 --- a/src/java/jogamp/android/launcher/ActivityLauncher.java +++ b/src/java/jogamp/android/launcher/ActivityLauncher.java @@ -197,7 +197,7 @@ public class ActivityLauncher extends Activity { protected static final Class[] zeroTypes = new Class[0]; protected static final String asString(Class[] argTypes) { - StringBuffer args = new StringBuffer(); + StringBuilder args = new StringBuilder(); boolean coma = false; if(null != argTypes) { for (int i = 0; i < argTypes.length; i++) { diff --git a/src/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java b/src/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java index 561ac61..695c9c3 100644 --- a/src/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java +++ b/src/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java @@ -116,7 +116,7 @@ public class RecursiveThreadGroupLockImpl01Unfairish } String addOwnerToString() { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); for(int i=0; i0) { sb.append(", "); -- cgit v1.2.3