summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/com/jogamp/common/util/VersionInfo.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestVersionInfo.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/VersionInfo.java b/src/java/com/jogamp/common/util/VersionInfo.java
index 553e906..1e76812 100644
--- a/src/java/com/jogamp/common/util/VersionInfo.java
+++ b/src/java/com/jogamp/common/util/VersionInfo.java
@@ -34,4 +34,7 @@ public class VersionInfo {
return VersionUtil.getInfo(VersionInfo.class.getClassLoader(), prefix, "com.jogamp.common.util", "VersionInfo", sb);
}
+ public static void main(String args[]) {
+ System.err.println(VersionInfo.getInfo(null, "GlueGen"));
+ }
} \ No newline at end of file
diff --git a/src/junit/com/jogamp/common/util/TestVersionInfo.java b/src/junit/com/jogamp/common/util/TestVersionInfo.java
index f0c39d5..abfbee1 100644
--- a/src/junit/com/jogamp/common/util/TestVersionInfo.java
+++ b/src/junit/com/jogamp/common/util/TestVersionInfo.java
@@ -36,8 +36,7 @@ public class TestVersionInfo {
@Test
public void testInfo01() {
- StringBuffer sb = VersionInfo.getInfo(null, "GlueGen");
- System.err.println(sb);
+ System.err.println(VersionInfo.getInfo(null, "GlueGen"));
}