mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 00:25:58 +00:00
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:
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.
|
||||
|
||||
Reference in new issue
Block a user