Remove always true conditions

This commit is contained in:
Egor18 committed 2019-08-21 01:28:28 -04:00
1 parent 01d7f443c9
commit 729ad5e540
5 files changed
+5 -5

No files matched your search

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