diff options
author | Michael Bien <[email protected]> | 2011-02-26 17:59:27 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-02-26 17:59:27 +0100 |
commit | be26200a6d2fbeff6df49aada0bcf7cad91fe64f (patch) | |
tree | d058fe9abcb2388cd480a16d95adb167f52284e1 /src/java/com/jogamp/common/util/VersionUtil.java | |
parent | a1c22f48aef28165b0112e3bab223fe5ea2fa4fd (diff) |
small cleanup in uitl package
- StringBuffer -> StringBuilder
- ReflectionUtil.getBaseName -> class.getSimpleName()
- cleanup imports, generics and @Override for all touched classes
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionUtil.java')
-rw-r--r-- | src/java/com/jogamp/common/util/VersionUtil.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/java/com/jogamp/common/util/VersionUtil.java b/src/java/com/jogamp/common/util/VersionUtil.java index 6868175..632e127 100644 --- a/src/java/com/jogamp/common/util/VersionUtil.java +++ b/src/java/com/jogamp/common/util/VersionUtil.java @@ -43,11 +43,11 @@ public class VersionUtil { public static final String SEPERATOR = "-----------------------------------------------------------------------------------------------------"; /** - * Appends environment information like OS, JVM and CPU architecture properties to the StringBuffer. + * Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder. */ - public static StringBuffer getPlatformInfo(StringBuffer sb) { + public static StringBuilder getPlatformInfo(StringBuilder sb) { if(null == sb) { - sb = new StringBuffer(); + sb = new StringBuilder(); } sb.append(SEPERATOR).append(Platform.getNewline()); @@ -73,7 +73,7 @@ public class VersionUtil { /** * Prints platform info. - * @see #getPlatformInfo(java.lang.StringBuffer) + * @see #getPlatformInfo(java.lang.StringBuilder) */ public static String getPlatformInfo() { return getPlatformInfo(null).toString(); @@ -102,13 +102,13 @@ public class VersionUtil { return null; } - public static StringBuffer getFullManifestInfo(Manifest mf, StringBuffer sb) { + public static StringBuilder getFullManifestInfo(Manifest mf, StringBuilder sb) { if(null==mf) { return sb; } if(null==sb) { - sb = new StringBuffer(); + sb = new StringBuilder(); } Attributes attr = mf.getMainAttributes(); |