Author: scabanovich
Date: 2008-10-29 09:02:13 -0400 (Wed, 29 Oct 2008)
New Revision: 11285
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
Log:
Pool for EL parsers implemented.
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 2008-10-29
12:58:56 UTC (rev 11284)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2008-10-29
13:02:13 UTC (rev 11285)
@@ -259,7 +259,7 @@
if(startEl>-1) {
ELParser parser = ELParserUtil.getJbossFactory().createParser();
ELModel model = parser.parse(string);
- List<SyntaxError> errors = parser.getSyntaxErrors();
+ List<SyntaxError> errors = model.getSyntaxErrors();
if(errors.size() > 0) {
for (SyntaxError error: errors) {
//TODO 1) make message more informative
Show replies by date