aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLContext.java
diff options
context:
space:
mode:
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(".");