v4: Remove unnecessary cast

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9340]
This commit is contained in:
sharwell 2011-11-17 16:52:41 -08:00
parent 41ed240850
commit 0d41d48d6e
1 changed files with 1 additions and 1 deletions

View File

@ -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;