forked from jasder/antlr
v4: StringBuilder instead of StringBuffer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9375]
This commit is contained in:
parent
0e587759c1
commit
5f6b463174
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue