From 226dbc8441b10ec4a2fd920ec2b91d46e4e26215 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sat, 26 Feb 2011 23:15:42 +0100 Subject: modifications due to cleanup in gluegen. --- src/com/jogamp/opencl/util/JOCLVersion.java | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/com') 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()); } -- cgit v1.2.3