summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/cgram/LineObject.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-16 00:13:17 +0200
committerSven Gothel <[email protected]>2012-04-16 00:13:17 +0200
commit900b2a73b2d0b6f934718ac88015151c5bf7ccb8 (patch)
treebcc9f366685343b66d06372c427744c60839bfbb /src/java/com/jogamp/gluegen/cgram/LineObject.java
parent94863d2e14ad7334fe5318d827878ce3b6424818 (diff)
StringBuffer -> StringBuilder (Local objects, no concurrency)
Diffstat (limited to 'src/java/com/jogamp/gluegen/cgram/LineObject.java')
-rw-r--r--src/java/com/jogamp/gluegen/cgram/LineObject.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/LineObject.java b/src/java/com/jogamp/gluegen/cgram/LineObject.java
index c03b3e8..5104497 100644
--- a/src/java/com/jogamp/gluegen/cgram/LineObject.java
+++ b/src/java/com/jogamp/gluegen/cgram/LineObject.java
@@ -106,8 +106,8 @@ class LineObject {
}
public String toString() {
- StringBuffer ret;
- ret = new StringBuffer("# " + line + " \"" + source + "\"");
+ StringBuilder ret;
+ ret = new StringBuilder("# " + line + " \"" + source + "\"");
if (enteringFile) {
ret.append(" 1");
}