aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-14 20:06:00 +0200
committerSven Gothel <[email protected]>2013-07-14 20:06:00 +0200
commit461f57b12b95782c53d0380d5d796615ad2e4581 (patch)
treef096561c08634e0ea7f1c5063d23e102b2124a87 /src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
parent645e29457c3a51cb262a61f2fe8e73ad9e606230 (diff)
StringBuffer -> StringBuilder
Diffstat (limited to 'src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g')
-rw-r--r--src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g b/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
index 78f8d68..38ded36 100644
--- a/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
+++ b/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
@@ -215,7 +215,7 @@ void printAddingLineDirectives( TNode t ) {
// preserve flags 3 and 4 if present in current file
if ( ! sourceFiles.empty() ) {
LineObject l = (LineObject) sourceFiles.peek();
- StringBuffer tFlags = new StringBuffer("");
+ StringBuilder tFlags = new StringBuilder("");
if (l.getSystemHeader()) {
tFlags.append(" 3");
}
@@ -249,7 +249,7 @@ void printAddingLineDirectives( TNode t ) {
}
// put in the return flag, plus others as needed
- StringBuffer tFlags = new StringBuffer(" 2");
+ StringBuilder tFlags = new StringBuilder(" 2");
if (l.getSystemHeader()) {
tFlags.append(" 3");
}