From ffb47c6610fc742926abc946fc14d12ee9c65a9a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 16 Apr 2012 00:50:14 +0200 Subject: StringBuffer -> StringBuilder (Local objects, no concurrency) ; Impacts: Capabilities/GLContext API 'toString(StringBuilder)' --- .../opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java | 2 +- .../jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java index 97c9d905c..551ab558f 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java @@ -97,7 +97,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB "in lorem. Maecenas in ipsum ac justo scelerisque sollicitudin. Quisque sit amet neque lorem,\n" + "-------Press H to change text---------\n"; - StringBuffer userString = new StringBuffer(); + StringBuilder userString = new StringBuilder(); boolean userInput = false; public GPUTextRendererListenerBase01(RenderState rs, int modes, boolean debug, boolean trace) { diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java index f8cbb0a29..8c0213e8e 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java @@ -136,7 +136,7 @@ public class TestInitConcurrentNEWT extends UITestCase { return true; } protected static String doneDump(JOGLTask[] tasks) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("["); for(int i=0; i0) { @@ -157,7 +157,7 @@ public class TestInitConcurrentNEWT extends UITestCase { return true; } protected static String isAliveDump(Thread[] threads) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("["); for(int i=0; i0) { -- cgit v1.2.3