summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/VersionUtil.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-26 18:10:53 +0100
committerSven Gothel <[email protected]>2011-02-26 18:10:53 +0100
commit837e90f090cf1627ad2897ecc1e9be428e0e3d43 (patch)
tree8a6fdd5aca35571aea852c5b19b03131275636ae /src/java/com/jogamp/common/util/VersionUtil.java
parent45788d1f3264725ba2e2f31f4b56d492e265b67c (diff)
parentbe26200a6d2fbeff6df49aada0bcf7cad91fe64f (diff)
Merge remote-tracking branch 'remotes/mbien/master'
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionUtil.java')
-rw-r--r--src/java/com/jogamp/common/util/VersionUtil.java12
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();