aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/util/JOCLVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/util/JOCLVersion.java')
-rw-r--r--src/com/jogamp/opencl/util/JOCLVersion.java17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/com/jogamp/opencl/util/JOCLVersion.java b/src/com/jogamp/opencl/util/JOCLVersion.java
index 44f32c57..265233a2 100644
--- a/src/com/jogamp/opencl/util/JOCLVersion.java
+++ b/src/com/jogamp/opencl/util/JOCLVersion.java
@@ -75,9 +75,8 @@ public class JOCLVersion extends JogampVersion {
final StringBuilder sb = new StringBuilder();
try{
- sb.append(SEPERATOR).append(Platform.getNewline());
sb.append(getPlatformInfo(null));
- sb.append(SEPERATOR).append(Platform.getNewline());
+ sb.append(Platform.getNewline());
}catch(Exception e) {
sb.append(e.getMessage());
e.printStackTrace();
@@ -85,6 +84,7 @@ public class JOCLVersion extends JogampVersion {
try{
createInstance().toString(sb);
+ sb.append(Platform.getNewline());
}catch(Exception e) {
sb.append(e.getMessage());
e.printStackTrace();
@@ -105,19 +105,6 @@ public class JOCLVersion extends JogampVersion {
return sb.toString();
}
-
- public StringBuilder toString(StringBuilder sb) {
- return sb.append(toString((StringBuffer)null));
- }
-
- @Override
- public StringBuffer toString(StringBuffer sb) {
- if(sb == null) {
- sb = new StringBuffer();
- }
- return super.toString(sb);
- }
-
public static void main(String[] args) {
System.out.println(JOCLVersion.getAllVersions());
}