mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Ton of code cleanup activities. Embraced newer APIs, fixed some uses of deprecated APIs. Couple of bugs along the way.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9549 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
dhenninger
parent
7907c1f090
commit
d627912d8c
@ -79,9 +79,9 @@ public class PluginClassLoader extends URLClassLoader {
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < jars.length; i++) {
|
||||
if (jars[i].isFile()) {
|
||||
final URL url = jars[i].toURL();
|
||||
for (File jar : jars) {
|
||||
if (jar.isFile()) {
|
||||
final URL url = jar.toURL();
|
||||
addURL(url);
|
||||
try {
|
||||
checkForSmackProviders(url);
|
||||
@ -190,6 +190,7 @@ public class PluginClassLoader extends URLClassLoader {
|
||||
providerStream.close();
|
||||
}
|
||||
catch (Exception e) {
|
||||
// Nothing to do
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user