v4: StringBuilder instead of StringBuffer

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9375]
This commit is contained in:
sharwell 2011-11-17 19:00:49 -08:00
parent 0e587759c1
commit 5f6b463174
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ public class RuleContext implements ParseTree.RuleNode {
}
public String toString(BaseRecognizer recog, RuleContext stop) {
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
RuleContext p = this;
buf.append("[");
while ( p != null && p != stop ) {