1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 22:12:05 +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:
Gaston Dombiak 2006-08-03 17:03:19 +00:00 committed by gato
parent a9c3ffe64c
commit 84cc5fb1c6
2 changed files with 2 additions and 2 deletions

View file

@ -213,6 +213,6 @@ public final class SmackConfiguration {
loaders.add(classLoader); loaders.add(classLoader);
} }
} }
return (ClassLoader[]) loaders.toArray(); return loaders.toArray(new ClassLoader[loaders.size()]);
} }
} }

View file

@ -391,7 +391,7 @@ public class ProviderManager {
loaders.add(classLoader); loaders.add(classLoader);
} }
} }
return (ClassLoader[]) loaders.toArray(); return loaders.toArray(new ClassLoader[loaders.size()]);
} }
private ProviderManager() { private ProviderManager() {