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:
Daniel Henninger
2007-12-03 05:59:51 +00:00
committed by dhenninger
parent 7907c1f090
commit d627912d8c
127 changed files with 1495 additions and 2579 deletions

View File

@ -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
}
}
}