Author: chris.laprun(a)jboss.com
Date: 2007-01-18 14:25:19 -0500 (Thu, 18 Jan 2007)
New Revision: 6035
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/ProducerConfigurationService.java
Log:
- Renamed enum to resources to avoid Java 5 conflict.
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/ProducerConfigurationService.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/ProducerConfigurationService.java 2007-01-18
16:44:51 UTC (rev 6034)
+++
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/ProducerConfigurationService.java 2007-01-18
19:25:19 UTC (rev 6035)
@@ -72,11 +72,11 @@
}
// make sure we pick the furthest down the path in case there's several
similarly named resources in the path
- Enumeration enum =
Thread.currentThread().getContextClassLoader().getResources(configLocation);
+ Enumeration resources =
Thread.currentThread().getContextClassLoader().getResources(configLocation);
URL configURL = null;
- while (enum.hasMoreElements())
+ while (resources.hasMoreElements())
{
- configURL = (URL)enum.nextElement();
+ configURL = (URL)resources.nextElement();
}
if (configURL == null)
Show replies by date