summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-02-26 23:15:42 +0100
committerMichael Bien <[email protected]>2011-02-26 23:15:42 +0100
commit226dbc8441b10ec4a2fd920ec2b91d46e4e26215 (patch)
treea7968575fdd45ecf661d14b99be37448eb0cff57 /src/com/jogamp/opencl
parent4ef6c50c5acaf0bfaf33676e94ed716577913c33 (diff)
modifications due to cleanup in gluegen.
Diffstat (limited to 'src/com/jogamp/opencl')
-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());
}