mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Useless else statement.
This commit is contained in:
parent
bc51505150
commit
7e241e3993
@ -345,7 +345,7 @@ public class Updater {
|
|||||||
if (entry.isDirectory()) {
|
if (entry.isDirectory()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
final BufferedInputStream bis = new BufferedInputStream(zipFile.getInputStream(entry));
|
final BufferedInputStream bis = new BufferedInputStream(zipFile.getInputStream(entry));
|
||||||
int b;
|
int b;
|
||||||
final byte buffer[] = new byte[Updater.BYTE_SIZE];
|
final byte buffer[] = new byte[Updater.BYTE_SIZE];
|
||||||
@ -361,7 +361,7 @@ public class Updater {
|
|||||||
if (name.endsWith(".jar") && this.pluginFile(name)) {
|
if (name.endsWith(".jar") && this.pluginFile(name)) {
|
||||||
destinationFilePath.renameTo(new File(this.plugin.getDataFolder().getParent(), this.updateFolder + "/" + name));
|
destinationFilePath.renameTo(new File(this.plugin.getDataFolder().getParent(), this.updateFolder + "/" + name));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
entry = null;
|
entry = null;
|
||||||
destinationFilePath = null;
|
destinationFilePath = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user