Author: vrubezhny
Date: 2012-08-07 10:16:02 -0400 (Tue, 07 Aug 2012)
New Revision: 42884
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
Log:
JBIDE-10738 As-you-type EL validation
Infinite loop possibility is fixed
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-08-07
14:01:52 UTC (rev 42883)
+++
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-08-07
14:16:02 UTC (rev 42884)
@@ -478,8 +478,10 @@
}
element = unit.getElementAt(position);
- if (element == null)
+ if (element == null) {
+ position++;
continue;
+ }
atLeastOneElementIsProcessed = true;
boolean doSkipThisElement = false;
Show replies by date