Remove unnecessary parentheses (#5576)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-06-25 09:23:37 +01:00
1 parent a0ce3a837f
commit bd7c823c27
81 files changed
+120 -120

No files matched your search

+1 -1
View File
@@ -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);