提交 0977167f 编写于 作者: K kohsuke

getting rid of warnings

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12957 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4b6758b8
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册