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/com/jogamp/common | |
parent | 94863d2e14ad7334fe5318d827878ce3b6424818 (diff) |
StringBuffer -> StringBuilder (Local objects, no concurrency)
Diffstat (limited to 'src/java/com/jogamp/common')
-rw-r--r-- | src/java/com/jogamp/common/util/IOUtil.java | 2 | ||||
-rw-r--r-- | src/java/com/jogamp/common/util/ReflectionUtil.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java index 523b6bc..5f26c53 100644 --- a/src/java/com/jogamp/common/util/IOUtil.java +++ b/src/java/com/jogamp/common/util/IOUtil.java @@ -542,7 +542,7 @@ public class IOUtil { } public static URL compose(String scheme, String auth, String path1, String path2, String query, String fragment) throws MalformedURLException { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if(null!=scheme) { sb.append(scheme); sb.append(":"); diff --git a/src/java/com/jogamp/common/util/ReflectionUtil.java b/src/java/com/jogamp/common/util/ReflectionUtil.java index f6b9efb..8b9476f 100644 --- a/src/java/com/jogamp/common/util/ReflectionUtil.java +++ b/src/java/com/jogamp/common/util/ReflectionUtil.java @@ -94,7 +94,7 @@ public final class ReflectionUtil { } 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++) { |