aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-16 00:50:14 +0200
committerSven Gothel <[email protected]>2012-04-16 00:50:14 +0200
commitffb47c6610fc742926abc946fc14d12ee9c65a9a (patch)
tree36b157a02c244375ec26658d0444bb8d3b0e3380 /src/test
parentace2daf725dfc1aa700338fae71fe93a9d0fd865 (diff)
StringBuffer -> StringBuilder (Local objects, no concurrency) ; Impacts: Capabilities/GLContext API 'toString(StringBuilder)'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrentNEWT.java4
2 files changed, 3 insertions, 3 deletions
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; i<tasks.length; i++) {
if(i>0) {
@@ -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; i<threads.length; i++) {
if(i>0) {