rm redundant init

This commit is contained in:
parrt 2016-11-27 08:41:11 -08:00
parent c695ed25e9
commit c258fd2a5d
1 changed files with 1 additions and 3 deletions

View File

@ -461,12 +461,10 @@ public class BufferedTokenStream implements TokenStream {
@Override
public String getText(Interval interval) {
lazyInit();
fill();
int start = interval.a;
int stop = interval.b;
if ( start<0 || stop<0 ) return "";
lazyInit();
fill();
if ( stop>=tokens.size() ) stop = tokens.size()-1;
StringBuilder buf = new StringBuilder();