mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
So many useless else statements...
This commit is contained in:
@ -84,9 +84,8 @@ public class ZipLibrary {
|
||||
if (path == null || path.isEmpty()) {
|
||||
return file;
|
||||
}
|
||||
else {
|
||||
return path + File.separator + file;
|
||||
}
|
||||
|
||||
return path + File.separator + file;
|
||||
}
|
||||
|
||||
private static void zipDir(ZipOutputStream zos, String path, File dir) throws IOException {
|
||||
|
Reference in New Issue
Block a user