Author: akazakov
Date: 2007-11-05 08:46:07 -0500 (Mon, 05 Nov 2007)
New Revision: 4699
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
Log:
Seam El validator: Ignore numbers in EL (#{array[10]})
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2007-11-05
13:26:15 UTC (rev 4698)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2007-11-05
13:46:07 UTC (rev 4699)
@@ -256,7 +256,7 @@
SeamELTokenizer elTokenizer = new SeamELTokenizer(exp);
List<ELToken> tokens = elTokenizer.getTokens();
for (ELToken token : tokens) {
- if(token.getType()==ELToken.EL_OPERAND_TOKEN) {
+ if(token.getType()==ELToken.EL_VARIABLE_TOKEN) {
validateElOperand(file, token, el.getOffset());
}
}