diff options
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++) { |