Useless else statement.

This commit is contained in:
GJ 2013-10-21 13:15:41 -04:00
parent bc51505150
commit 7e241e3993

View File

@ -345,7 +345,7 @@ public class Updater {
if (entry.isDirectory()) {
continue;
}
else {
final BufferedInputStream bis = new BufferedInputStream(zipFile.getInputStream(entry));
int b;
final byte buffer[] = new byte[Updater.BYTE_SIZE];
@ -361,7 +361,7 @@ public class Updater {
if (name.endsWith(".jar") && this.pluginFile(name)) {
destinationFilePath.renameTo(new File(this.plugin.getDataFolder().getParent(), this.updateFolder + "/" + name));
}
}
entry = null;
destinationFilePath = null;
}