forked from jasder/antlr
v4: Remove unnecessary cast
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9340]
This commit is contained in:
parent
41ed240850
commit
0d41d48d6e
|
@ -117,7 +117,7 @@ public class CommonTokenStream extends BufferedTokenStream {
|
|||
}
|
||||
|
||||
protected int skipOffTokenChannelsReverse(int i) {
|
||||
while ( i>=0 && ((Token)tokens.get(i)).getChannel()!=channel ) {
|
||||
while ( i>=0 && tokens.get(i).getChannel()!=channel ) {
|
||||
i--;
|
||||
}
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue