mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 21:17:58 +01:00
Fixed casting error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4796 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a9c3ffe64c
commit
84cc5fb1c6
2 changed files with 2 additions and 2 deletions
|
@ -213,6 +213,6 @@ public final class SmackConfiguration {
|
|||
loaders.add(classLoader);
|
||||
}
|
||||
}
|
||||
return (ClassLoader[]) loaders.toArray();
|
||||
return loaders.toArray(new ClassLoader[loaders.size()]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -391,7 +391,7 @@ public class ProviderManager {
|
|||
loaders.add(classLoader);
|
||||
}
|
||||
}
|
||||
return (ClassLoader[]) loaders.toArray();
|
||||
return loaders.toArray(new ClassLoader[loaders.size()]);
|
||||
}
|
||||
|
||||
private ProviderManager() {
|
||||
|
|
Loading…
Reference in a new issue