summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/JogampVersion.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-25 18:52:09 +0100
committerSven Gothel <[email protected]>2010-11-25 18:52:09 +0100
commit5b43d384017f9cfa12dab1a194a5688b948dc587 (patch)
tree6cb75177874b4c88fe5b3c1fc2b16ed145d20d23 /src/java/com/jogamp/common/util/JogampVersion.java
parent2d2ae213fa207bcb01abef78cea034b66d2b4184 (diff)
Refined VersionInfo (seperator/new-line)
Diffstat (limited to 'src/java/com/jogamp/common/util/JogampVersion.java')
-rw-r--r--src/java/com/jogamp/common/util/JogampVersion.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/java/com/jogamp/common/util/JogampVersion.java b/src/java/com/jogamp/common/util/JogampVersion.java
index aae6d77..2c218ce 100644
--- a/src/java/com/jogamp/common/util/JogampVersion.java
+++ b/src/java/com/jogamp/common/util/JogampVersion.java
@@ -40,8 +40,6 @@ public class JogampVersion {
public static Attributes.Name IMPLEMENTATION_BRANCH = new Attributes.Name("Implementation-Branch");
public static Attributes.Name IMPLEMENTATION_COMMIT = new Attributes.Name("Implementation-Commit");
- protected static final String SEPERATOR = "-----------------------------------------------------------------------------------------------------";
-
private String packageName;
private Manifest mf;
private int hash;
@@ -145,10 +143,6 @@ public class JogampVersion {
return VersionUtil.getFullManifestInfo(getManifest(), sb);
}
- public StringBuffer getPlatformInfo(StringBuffer sb) {
- return VersionUtil.getPlatformInfo(sb);
- }
-
public StringBuffer getManifestInfo(StringBuffer sb) {
if(null==sb) {
sb = new StringBuffer();
@@ -174,10 +168,9 @@ public class JogampVersion {
sb = new StringBuffer();
}
- String nl = Platform.getNewline();
- sb.append(SEPERATOR).append(nl);
+ sb.append(VersionUtil.SEPERATOR).append(Platform.getNewline());
getManifestInfo(sb);
- sb.append(SEPERATOR).append(nl);
+ sb.append(VersionUtil.SEPERATOR);
return sb;
}