diff options
author | Sven Gothel <[email protected]> | 2012-04-16 00:13:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-16 00:13:17 +0200 |
commit | 900b2a73b2d0b6f934718ac88015151c5bf7ccb8 (patch) | |
tree | bcc9f366685343b66d06372c427744c60839bfbb /src/java/jogamp | |
parent | 94863d2e14ad7334fe5318d827878ce3b6424818 (diff) |
StringBuffer -> StringBuilder (Local objects, no concurrency)
Diffstat (limited to 'src/java/jogamp')
-rw-r--r-- | src/java/jogamp/android/launcher/ActivityLauncher.java | 2 | ||||
-rw-r--r-- | src/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java | 2 |
2 files changed, 2 insertions, 2 deletions
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; i<threadNum; i++) { if(i>0) { sb.append(", "); |