summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java b/src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java
index eac7ce9..519951a 100644
--- a/src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java
+++ b/src/main/java/com/keuin/kbackupfabric/backup/BackupFilesystemUtil.java
@@ -26,17 +26,6 @@ public final class BackupFilesystemUtil {
return backupFileNamePrefix;
}
-
-// @Deprecated
-// public static String getBackupName(String backupFileName) {
-// try {
-// if (backupFileName.matches(backupFileNamePrefix + ".+\\.zip"))
-// return backupFileName.substring(backupFileNamePrefix.length(), backupFileName.length() - 4);
-// } catch (IndexOutOfBoundsException ignored) {
-// }
-// return backupFileName;
-// }
-
public static boolean isBackupFileExists(String backupFileName, MinecraftServer server) {
File backupFile = new File(getBackupSaveDirectory(server), backupFileName);
return backupFile.isFile();