Browse Source

Added suppression for warnings since these types are generated

conversation
Andy Clement 16 years ago
parent
commit
2e0006f8ac
  1. 15
      org.springframework.expression/src/main/java/org/springframework/expression/spel/generated/SpringExpressionsLexer.java
  2. 3
      org.springframework.expression/src/main/java/org/springframework/expression/spel/generated/SpringExpressionsParser.java

15
org.springframework.expression/src/main/java/org/springframework/expression/spel/generated/SpringExpressionsLexer.java

@ -1,11 +1,16 @@ @@ -1,11 +1,16 @@
// $ANTLR 3.0.1 /Users/aclement/el/spring3/spring-framework/trunk/org.springframework.expression/src/main/java/org/springframework/expression/spel/generated/SpringExpressions.g 2008-08-11 16:02:48
package org.springframework.expression.spel.generated;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import org.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.DFA;
import org.antlr.runtime.EarlyExitException;
import org.antlr.runtime.Lexer;
import org.antlr.runtime.MismatchedSetException;
import org.antlr.runtime.NoViableAltException;
import org.antlr.runtime.RecognitionException;
@SuppressWarnings({"unused","cast"})
public class SpringExpressionsLexer extends Lexer {
public static final int GREATER_THAN_OR_EQUAL=79;
public static final int COMMA=51;

3
org.springframework.expression/src/main/java/org/springframework/expression/spel/generated/SpringExpressionsParser.java

@ -20,7 +20,7 @@ import org.antlr.runtime.tree.RewriteRuleSubtreeStream; @@ -20,7 +20,7 @@ import org.antlr.runtime.tree.RewriteRuleSubtreeStream;
import org.antlr.runtime.tree.RewriteRuleTokenStream;
import org.antlr.runtime.tree.TreeAdaptor;
@SuppressWarnings("unused")
@SuppressWarnings({"unused","cast"})
public class SpringExpressionsParser extends Parser {
public static final String[] tokenNames = new String[] { "<invalid>", "<EOR>", "<DOWN>", "<UP>", "EXPRESSIONLIST",
"INTEGER_LITERAL", "EXPRESSION", "QUALIFIED_IDENTIFIER", "REFERENCE", "PROPERTY_OR_FIELD", "INDEXER",
@ -1566,6 +1566,7 @@ public class SpringExpressionsParser extends Parser { @@ -1566,6 +1566,7 @@ public class SpringExpressionsParser extends Parser {
// $ANTLR start primaryExpression
// /Users/aclement/spring-pieces/spring-el/trunk/org.springframework.el/src/main/java/org/springframework/el/generated/SpringExpressions.g:99:1:
// primaryExpression : startNode ( node )? -> ^( EXPRESSION startNode ( node )? ) ;
@SuppressWarnings("cast")
public final primaryExpression_return primaryExpression() throws RecognitionException {
primaryExpression_return retval = new primaryExpression_return();
retval.start = input.LT(1);

Loading…
Cancel
Save