mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 10:49:41 +02:00
Removed enum variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2398 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a654adc588
commit
f206a82119
2 changed files with 6 additions and 6 deletions
|
@ -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<classLoaders.length; i++) {
|
||||
Enumeration enum = classLoaders[i].getResources(
|
||||
Enumeration providerEnum = classLoaders[i].getResources(
|
||||
"META-INF/smack.providers");
|
||||
while (enum.hasMoreElements()) {
|
||||
URL url = (URL)enum.nextElement();
|
||||
while (providerEnum.hasMoreElements()) {
|
||||
URL url = (URL)providerEnum.nextElement();
|
||||
java.io.InputStream providerStream = null;
|
||||
try {
|
||||
providerStream = url.openStream();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue