aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLContext.java
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/javax/media/opengl/GLContext.java
parentace2daf725dfc1aa700338fae71fe93a9d0fd865 (diff)
StringBuffer -> StringBuilder (Local objects, no concurrency) ; Impacts: Capabilities/GLContext API 'toString(StringBuilder)'
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLContext.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java
index 5ea7d8c3a..815da277c 100644
--- a/src/jogl/classes/javax/media/opengl/GLContext.java
+++ b/src/jogl/classes/javax/media/opengl/GLContext.java
@@ -396,7 +396,7 @@ public abstract class GLContext {
* Classname, GL, GLDrawable
*/
public String toString() {
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
this.append(sb);
@@ -404,7 +404,7 @@ public abstract class GLContext {
return sb.toString();
}
- public final StringBuffer append(StringBuffer sb) {
+ public final StringBuilder append(StringBuilder sb) {
sb.append("OpenGL ");
sb.append(getGLVersionMajor());
sb.append(".");