diff --git a/pom.xml b/pom.xml index e6ba8b315..b5c859ed1 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.tonikelope MegaBasterd - 8.10 + 8.11 jar diff --git a/src/main/java/com/tonikelope/megabasterd/MainPanel.java b/src/main/java/com/tonikelope/megabasterd/MainPanel.java index 9b16ae53c..8f4ca35b6 100644 --- a/src/main/java/com/tonikelope/megabasterd/MainPanel.java +++ b/src/main/java/com/tonikelope/megabasterd/MainPanel.java @@ -70,7 +70,7 @@ */ public final class MainPanel { - public static final String VERSION = "8.10"; + public static final String VERSION = "8.11"; public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY public static final int THROTTLE_SLICE_SIZE = 16 * 1024; public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024; diff --git a/src/main/java/com/tonikelope/megabasterd/MegaAPI.java b/src/main/java/com/tonikelope/megabasterd/MegaAPI.java index 2da2422d7..90ac78a67 100644 --- a/src/main/java/com/tonikelope/megabasterd/MegaAPI.java +++ b/src/main/java/com/tonikelope/megabasterd/MegaAPI.java @@ -26,7 +26,6 @@ import java.net.Proxy; import java.net.URL; import java.nio.file.Files; -import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; @@ -1065,7 +1064,7 @@ private String getCachedFolderNodes(String folder_id) { LOG.log(Level.INFO, "MEGA FOLDER {0} USING CACHED JSON FILE TREE", new Object[]{folder_id}); try { - return Files.readString(Path.of(file_path)); + return Files.readString(Paths.get(file_path)); } catch (IOException ex) { Logger.getLogger(MegaAPI.class.getName()).log(Level.SEVERE, null, ex); } @@ -1078,7 +1077,7 @@ private void writeCachedFolderNodes(String folder_id, String res) { String file_path = System.getProperty("java.io.tmpdir") + File.separator + "megabasterd_folder_cache_" + folder_id; try { - Files.writeString(Path.of(file_path), res); + Files.writeString(Paths.get(file_path), res); } catch (IOException ex) { Logger.getLogger(MegaAPI.class.getName()).log(Level.SEVERE, null, ex); } diff --git a/src/main/resources/images/mbasterd_screen.png b/src/main/resources/images/mbasterd_screen.png index 8ab844976..ff861ef05 100644 Binary files a/src/main/resources/images/mbasterd_screen.png and b/src/main/resources/images/mbasterd_screen.png differ