Author: akazakov
Date: 2007-11-16 08:38:13 -0500 (Fri, 16 Nov 2007)
New Revision: 4945
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELTokenizer.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1308
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELTokenizer.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELTokenizer.java 2007-11-16
13:37:06 UTC (rev 4944)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELTokenizer.java 2007-11-16
13:38:13 UTC (rev 4945)
@@ -35,7 +35,6 @@
private int fState;
private static final String OPERATOR_SYMBOLS =
"!=&(){}[]:+-*%?,|/%<>";
-// private static final String OPERATOR_SYMBOLS =
"!=&{}:+-*%?,|/%<>";
private static final int START_ROUND_BRACKET_SYMBOL = '(';
private static final int END_ROUND_BRACKET_SYMBOL = ')';
private static final int START_SQUARE_BRACKET_SYMBOL = '[';
@@ -43,14 +42,6 @@
private static final int STRING_SYMBOL = '\'';
private static final String RESERVED_WORDS = " null empty div and or not mod eq ne
lt gt le ge true false instanceof invalid required ";
- private SeamELTokenizer(String expression, int offset) {
- this.offset = offset;
- this.expression = expression;
- index = 0;
- fTokens = new ArrayList<ELToken>();
- parse();
- }
-
/**
* Constructs SeamELTokenizer object.
* Constructs SeamELTokenizer object
@@ -63,6 +54,14 @@
this(expression, 0);
}
+ private SeamELTokenizer(String expression, int offset) {
+ this.offset = offset;
+ this.expression = expression;
+ index = 0;
+ fTokens = new ArrayList<ELToken>();
+ parse();
+ }
+
/**
* Returns list of tokens for the expression parsed
*