diff options
author | Harvey Harrison <[email protected]> | 2013-10-17 21:06:56 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-10-17 21:06:56 -0700 |
commit | 791a2749886f02ec7b8db25bf8862e8269b96da5 (patch) | |
tree | c9be31d0bbbe8033b4a6a0cfad91a22b6575ced1 /src/java/com/jogamp/gluegen/cgram/CSymbolTable.java | |
parent | 5b77e15500b7b19d35976603dd71e8b997b2d8ea (diff) |
gluegen: remove trailing whitespace
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen/cgram/CSymbolTable.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/CSymbolTable.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java b/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java index 318543b..69ec0ed 100644 --- a/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java +++ b/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java @@ -35,14 +35,14 @@ public class CSymbolTable { scopeStack.removeElementAt(size - 1); } - /** return the current scope as a string + /** return the current scope as a string */ public String currentScopeAsString() { StringBuilder buf = new StringBuilder(100); boolean first = true; Enumeration<String> e = scopeStack.elements(); while(e.hasMoreElements()) { - if(first) + if(first) first = false; else buf.append("::"); @@ -51,7 +51,7 @@ public class CSymbolTable { return buf.toString(); } - /** given a name for a type, append it with the + /** given a name for a type, append it with the current scope. */ public String addCurrentScopeToName(String name) { @@ -59,7 +59,7 @@ public class CSymbolTable { return addScopeToName(currScope, name); } - /** given a name for a type, append it with the + /** given a name for a type, append it with the given scope. MBZ */ public String addScopeToName(String scope, String name) { @@ -80,7 +80,7 @@ public class CSymbolTable { } return null; } - + /** add a node to the table with it's key as the current scope and the name */ public TNode add(String name, TNode node) { @@ -116,7 +116,7 @@ public class CSymbolTable { /** convert this table to a string */ public String toString() { StringBuilder buff = new StringBuilder(300); - buff.append("CSymbolTable { \nCurrentScope: " + currentScopeAsString() + + buff.append("CSymbolTable { \nCurrentScope: " + currentScopeAsString() + "\nDefinedSymbols:\n"); Enumeration<String> ke = symTable.keys(); Enumeration<TNode> ve = symTable.elements(); |