diff --git a/pom.xml b/pom.xml index 43face833..038b66682 100644 --- a/pom.xml +++ b/pom.xml @@ -13,48 +13,48 @@ UTF-8 - 24.1.0 - 2.11.0 - 9.9 + 26.0.2-1 + 2.12.1 + 9.9.1 0.2.2 1.0bcv 0.152 1.9.12 - 1.9.0 - 1.17.1 + 1.11.0 + 1.20.0 3.1.12 - 1.27.1 - 2.16.1 - 3.17.0 - 1.12.0 - 3.0.2 + 1.28.0 + 2.21.0 + 3.20.0 + 1.15.0 + 3.0.2 0.4.1 6.3.9.Final - 2.4.22 + 2.4.34 + 1.2.0 e0d44f4 - 2.11.0 - 33.3.0-jre + 1.7 + 2.13.2 + 33.5.0-jre 2.2.0 4.2 1.4.7 + 3.27.1 1.6.6bcv 3.4.1.3 21.2.0 3.4 0.2.2 0.6.0 - 3.5.2 + 3.6.0 2.1.1 - 2.0.16 - 3.0.8 + 2.0.17 + 3.0.9 1.34.1 + 1.0.1 1.0.3 - a8f700b + 901abbd 1.1.4c - 3.26.2 - 1.0.1 - 1.7 - 1.2.0 @@ -420,7 +420,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.5.0 + 3.6.0 checkstyle.xml @@ -428,7 +428,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.13.0 + 3.14.1 ${maven.compiler.source} ${maven.compiler.target} @@ -438,7 +438,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.10.0 + 3.12.0 ${maven.compiler.source} @@ -446,7 +446,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.6.0 + 3.6.1 package diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java index 414973329..1a05188a9 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java @@ -21,7 +21,7 @@ import com.google.common.io.Files; import com.konloch.disklib.DiskReader; import com.konloch.disklib.DiskWriter; -import org.apache.commons.compress.utils.FileNameUtils; +import org.apache.commons.io.FilenameUtils; import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.Configuration; import the.bytecode.club.bytecodeviewer.gui.components.FileChooser; @@ -233,7 +233,7 @@ public void save() { try { - final String ext = FileNameUtils.getExtension(pluginName); + final String ext = FilenameUtils.getExtension(pluginName); JFileChooser fc = FileChooser.create(Configuration.getLastPluginDirectory(), "Save Plugin", "BCV Plugin", ext); int returnVal = fc.showSaveDialog(BytecodeViewer.viewer); diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceContainerImporter.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceContainerImporter.java index b0be5fdeb..0cb69fea1 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceContainerImporter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceContainerImporter.java @@ -224,7 +224,7 @@ private ResourceContainerImporter importZipInputStream(boolean classesOnly) thro */ private ResourceContainerImporter importApacheZipFile(boolean classesOnly) throws IOException { - try (ZipFile zipFile = new ZipFile(container.file)) + try (ZipFile zipFile = ZipFile.builder().setFile(container.file).get()) { Enumeration entries = zipFile.getEntries(); while (entries.hasMoreElements()) diff --git a/src/main/resources/translations/english.json b/src/main/resources/translations/english.json index 2a5d99f7b..ec9dfd912 100644 --- a/src/main/resources/translations/english.json +++ b/src/main/resources/translations/english.json @@ -63,6 +63,7 @@ "COMPILE_ON_SAVE": "Compile On Save", "COMPILE_ON_REFRESH": "Compile On Refresh", "REFRESH_ON_VIEW_CHANGE": "Refresh On View Change", + "DISABLE_RELOAD_CONFIRMATION": "Disable Reload Confirmation", "DECODE_APK_RESOURCES": "Decode APK Resources", "APK_CONVERSION": "APK Conversion", "APK_CONVERSION_DECODING": "APK Conversion/Decoding", diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json index bd78843be..a1a86b6ec 100644 --- a/src/main/resources/translations/german.json +++ b/src/main/resources/translations/german.json @@ -63,6 +63,7 @@ "COMPILE_ON_SAVE": "Bei Speichern kompilieren", "COMPILE_ON_REFRESH": "Bei Aktualisierung kompilieren", "REFRESH_ON_VIEW_CHANGE": "Bei Änderung der Ansicht aktualisieren", + "DISABLE_RELOAD_CONFIRMATION": "Bestätigung beim Neuladen deaktivieren", "DECODE_APK_RESOURCES": "APK Ressourcen dekodieren", "APK_CONVERSION": "APK-Umwandlung", "APK_CONVERSION_DECODING": "APK-Konvertierung",