mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 23:55:52 +00:00
Drop useless local variables
This commit is contained in:
1 parent
95c8e71591
commit
bd8091cf57
12 files changed
+17
-33
No files matched your search
@@ -1045,8 +1045,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
URL res = cl.findResource(PluginWrapper.MANIFEST_FILENAME);
|
||||
if (res!=null) {
|
||||
in = getBundledJpiManifestStream(res);
|
||||
Manifest manifest = new Manifest(in);
|
||||
return manifest;
|
||||
return new Manifest(in);
|
||||
}
|
||||
} finally {
|
||||
Util.closeAndLogFailures(in, LOGGER, PluginWrapper.MANIFEST_FILENAME, bundledJpi.toString());
|
||||
|
||||
Reference in new issue
Block a user