mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Remove unnecessary parentheses (#5576)
This commit is contained in:
1 parent
a0ce3a837f
commit
bd7c823c27
81 files changed
+120
-120
No files matched your search
@@ -1104,7 +1104,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
final String entryName = jarURLConnection.getEntryName();
|
||||
|
||||
try(JarFile jarFile = jarURLConnection.getJarFile()) {
|
||||
final JarEntry entry = (entryName != null && jarFile != null) ? jarFile.getJarEntry(entryName) : null;
|
||||
final JarEntry entry = entryName != null && jarFile != null ? jarFile.getJarEntry(entryName) : null;
|
||||
if (entry != null) {
|
||||
try(InputStream i = jarFile.getInputStream(entry)) {
|
||||
byte[] manifestBytes = IOUtils.toByteArray(i);
|
||||
|
||||
Reference in new issue
Block a user