diff options
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g | 4 | ||||
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/HeaderParser.g | 2 | ||||
-rw-r--r-- | src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java | 2 |
3 files changed, 3 insertions, 5 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"); } diff --git a/src/java/com/jogamp/gluegen/cgram/HeaderParser.g b/src/java/com/jogamp/gluegen/cgram/HeaderParser.g index 33ee06a..0b4d5ec 100644 --- a/src/java/com/jogamp/gluegen/cgram/HeaderParser.g +++ b/src/java/com/jogamp/gluegen/cgram/HeaderParser.g @@ -208,7 +208,7 @@ options { } private String getTypeString(Type t) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("["); sb.append(t); sb.append(", size: "); diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java index 51e3166..7bd9241 100644 --- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java +++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java @@ -43,8 +43,6 @@ import java.io.*; import java.text.*; import java.util.*; -import com.jogamp.gluegen.*; - public class ProcAddressConfiguration extends JavaConfiguration { private boolean emitProcAddressTable = false; |