temporarily commnted out code (to remove the warnings) - this code may get used for error recovery
This commit is contained in:
@@ -72,10 +72,10 @@ public class SpringExpressionsLexerExtender extends SpringExpressionsLexer {
|
||||
// by the recover() method above.
|
||||
}
|
||||
|
||||
private String getTokenForId(int id) {
|
||||
if (id == -1)
|
||||
return "EOF";
|
||||
return getTokenNames()[id];
|
||||
}
|
||||
// private String getTokenForId(int id) {
|
||||
// if (id == -1)
|
||||
// return "EOF";
|
||||
// return getTokenNames()[id];
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -68,10 +68,10 @@ public class SpringExpressionsParserExtender extends SpringExpressionsParser {
|
||||
return super.getTokenErrorDisplay(t);
|
||||
}
|
||||
|
||||
private String getTokenForId(int id) {
|
||||
if (id == -1)
|
||||
return "EOF";
|
||||
return getTokenNames()[id];
|
||||
}
|
||||
// private String getTokenForId(int id) {
|
||||
// if (id == -1)
|
||||
// return "EOF";
|
||||
// return getTokenNames()[id];
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user