getting rid of warnings

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12957 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-11-03 22:38:51 +00:00
1 parent 4b6758b89b
commit 0977167f9b
1 file changed
+1 -4
@@ -136,7 +136,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
ClassLoader dependencyLoader = new DependencyClassLoader(getClass()
.getClassLoader(), dependencies);
ClassLoader classLoader = new URLClassLoader(paths.toArray(new URL[0]),
ClassLoader classLoader = new URLClassLoader(paths.toArray(new URL[paths.size()]),
dependencyLoader);
return new PluginWrapper(archive, manifest, baseResourceURL,
@@ -264,9 +264,6 @@ public class ClassicPluginStrategy implements PluginStrategy {
/**
* Loads the dependencies to other plugins.
*
* @param owner
* plugin manager to determine if the dependency is installed or
* not.
* @throws IOException
* thrown if one or several mandatory dependencies doesnt
* exists.