aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/JogampVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/util/JogampVersion.java')
-rw-r--r--src/java/com/jogamp/common/util/JogampVersion.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/JogampVersion.java b/src/java/com/jogamp/common/util/JogampVersion.java
index 9a7bf49..914da3d 100644
--- a/src/java/com/jogamp/common/util/JogampVersion.java
+++ b/src/java/com/jogamp/common/util/JogampVersion.java
@@ -179,7 +179,7 @@ public class JogampVersion {
return sb;
}
- public StringBuffer getInfo(StringBuffer sb) {
+ public StringBuffer toStringBuffer(StringBuffer sb) {
if(null==sb) {
sb = new StringBuffer();
}
@@ -195,4 +195,7 @@ public class JogampVersion {
return sb;
}
+ public String toString() {
+ return toStringBuffer(null).toString();
+ }
}