Author: scabanovich
Date: 2009-06-22 09:18:38 -0400 (Mon, 22 Jun 2009)
New Revision: 16112
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Errors in cycle variable usage fixed.
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java 2009-06-22
13:03:23 UTC (rev 16111)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java 2009-06-22
13:18:38 UTC (rev 16112)
@@ -70,7 +70,7 @@
IExtension extension = extensions[i];
IConfigurationElement[] elements = extension.getConfigurationElements();
for(int j=0; j<elements.length; j++) {
- IConfigurationElement[] natures =
elements[i].getChildren("project-nature"); //$NON-NLS-1$
+ IConfigurationElement[] natures =
elements[j].getChildren("project-nature"); //$NON-NLS-1$
for (int k = 0; k < natures.length; k++) {
String natureId = natures[k].getAttribute("id"); //$NON-NLS-1$
try {
@@ -88,7 +88,7 @@
Activator.getPluginLog().logError(e);
}
}
- IConfigurationElement[] factories = elements[i].getChildren("factory");
//$NON-NLS-1$
+ IConfigurationElement[] factories = elements[j].getChildren("factory");
//$NON-NLS-1$
for (int k = 0; k < factories.length; k++) {
try {
Object factory = factories[k].createExecutableExtension("class");
//$NON-NLS-1$