From f206a82119c6e0de84b8c2c9bd0e95d5770d2aaa Mon Sep 17 00:00:00 2001 From: Derek DeMoro Date: Fri, 29 Oct 2004 15:09:04 +0000 Subject: [PATCH] Removed enum variable. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2398 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/SmackConfiguration.java | 6 +++--- source/org/jivesoftware/smack/provider/ProviderManager.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/org/jivesoftware/smack/SmackConfiguration.java b/source/org/jivesoftware/smack/SmackConfiguration.java index efc4f20e7..358666fd7 100644 --- a/source/org/jivesoftware/smack/SmackConfiguration.java +++ b/source/org/jivesoftware/smack/SmackConfiguration.java @@ -95,9 +95,9 @@ public final class SmackConfiguration { // Get an array of class loaders to try loading the providers files from. ClassLoader[] classLoaders = getClassLoaders(); for (int i = 0; i < classLoaders.length; i++) { - Enumeration enum = classLoaders[i].getResources("META-INF/smack-config.xml"); - while (enum.hasMoreElements()) { - URL url = (URL) enum.nextElement(); + Enumeration configEnum = classLoaders[i].getResources("META-INF/smack-config.xml"); + while (configEnum.hasMoreElements()) { + URL url = (URL) configEnum.nextElement(); InputStream systemStream = null; try { systemStream = url.openStream(); diff --git a/source/org/jivesoftware/smack/provider/ProviderManager.java b/source/org/jivesoftware/smack/provider/ProviderManager.java index 99bede90f..d6fa242a6 100644 --- a/source/org/jivesoftware/smack/provider/ProviderManager.java +++ b/source/org/jivesoftware/smack/provider/ProviderManager.java @@ -149,10 +149,10 @@ public class ProviderManager { // Get an array of class loaders to try loading the providers files from. ClassLoader[] classLoaders = getClassLoaders(); for (int i=0; i