aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/x11/glx
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/jogl/classes/jogamp/opengl/x11/glx
parentace2daf725dfc1aa700338fae71fe93a9d0fd865 (diff)
StringBuffer -> StringBuilder (Local objects, no concurrency) ; Impacts: Capabilities/GLContext API 'toString(StringBuilder)'
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11/glx')
-rw-r--r--src/jogl/classes/jogamp/opengl/x11/glx/X11GLCapabilities.java4
-rw-r--r--src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLCapabilities.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLCapabilities.java
index bb0673581..96d4c7713 100644
--- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLCapabilities.java
+++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLCapabilities.java
@@ -89,9 +89,9 @@ public class X11GLCapabilities extends GLCapabilities {
}
}
- public StringBuffer toString(StringBuffer sink) {
+ public StringBuilder toString(StringBuilder sink) {
if(null == sink) {
- sink = new StringBuffer();
+ sink = new StringBuilder();
}
sink.append("glx vid ");
if(hasXVisualInfo()) {
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java
index 2de747136..2fd8cbcd9 100644
--- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java
+++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java
@@ -606,7 +606,7 @@ public abstract class X11GLXContext extends GLContextImpl {
}
public String toString() {
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
super.append(sb);