mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
Remove always true conditions
This commit is contained in:
1 parent
01d7f443c9
commit
729ad5e540
5 files changed
+5
-5
No files matched your search
@@ -1114,7 +1114,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
|
||||
try(final JarFile jarFile = jarURLConnection.getJarFile()) {
|
||||
final JarEntry entry = (entryName != null && jarFile != null) ? jarFile.getJarEntry(entryName) : null;
|
||||
if (entry != null && jarFile != null) {
|
||||
if (entry != null) {
|
||||
try(InputStream i = jarFile.getInputStream(entry)) {
|
||||
byte[] manifestBytes = IOUtils.toByteArray(i);
|
||||
in = new ByteArrayInputStream(manifestBytes);
|
||||
|
||||
Reference in new issue
Block a user