diff options
author | Sven Gothel <[email protected]> | 2012-04-16 00:50:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-16 00:50:14 +0200 |
commit | ffb47c6610fc742926abc946fc14d12ee9c65a9a (patch) | |
tree | 36b157a02c244375ec26658d0444bb8d3b0e3380 /src/jogl/classes/jogamp/opengl/egl | |
parent | ace2daf725dfc1aa700338fae71fe93a9d0fd865 (diff) |
StringBuffer -> StringBuilder (Local objects, no concurrency) ; Impacts: Capabilities/GLContext API 'toString(StringBuilder)'
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java b/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java index 0ae597938..f813edf86 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLGLCapabilities.java @@ -122,9 +122,9 @@ public class EGLGLCapabilities extends GLCapabilities { return null; } - public static StringBuffer renderableTypeToString(StringBuffer sink, int renderableType) { + public static StringBuilder renderableTypeToString(StringBuilder sink, int renderableType) { if(null == sink) { - sink = new StringBuffer(); + sink = new StringBuilder(); } boolean first=true; if(0 != (renderableType & EGL.EGL_OPENGL_BIT)) { @@ -142,9 +142,9 @@ public class EGLGLCapabilities extends GLCapabilities { return sink; } - public StringBuffer toString(StringBuffer sink) { + public StringBuilder toString(StringBuilder sink) { if(null == sink) { - sink = new StringBuffer(); + sink = new StringBuilder(); } sink.append("egl cfg 0x").append(Integer.toHexString(eglcfgid)); sink.append(", vid 0x").append(Integer.toHexString(nativeVisualID)).append(": "); |