diff --git a/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java b/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java index 61b4458..fab5f4c 100644 --- a/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java +++ b/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java @@ -124,7 +124,7 @@ public class ConfigPOJO implements ConfigData { public ArchiveFormat format = ArchiveFormat.ZIP; @Comment(""" - The Strict mode (default) aborts backup creation in case of any problem and deletes the created files + \nThe Strict mode (default) aborts backup creation in case of any problem and deletes created files Permissible mode keeps partial/damaged backup but won't allow to restore it Very Permissible mode will skip the verification process. THIS MOST CERTAINLY WILL LEAD TO DATA LOSS OR CORRUPTION """) diff --git a/src/main/java/net/szum123321/textile_backup/core/create/MakeBackupRunnable.java b/src/main/java/net/szum123321/textile_backup/core/create/MakeBackupRunnable.java index 917c68b..c9d1528 100644 --- a/src/main/java/net/szum123321/textile_backup/core/create/MakeBackupRunnable.java +++ b/src/main/java/net/szum123321/textile_backup/core/create/MakeBackupRunnable.java @@ -59,7 +59,7 @@ public class MakeBackupRunnable implements Callable { log.trace("Outfile is: {}", outFile); try { - //I think I should synchronise those two next calls... + //I think I should synchronise these two next calls... Utilities.disableWorldSaving(context.server()); Globals.INSTANCE.disableWatchdog = true; @@ -116,7 +116,7 @@ public class MakeBackupRunnable implements Callable { try { Files.delete(outFile); } catch (IOException ex) { - log.error("An exception occurred while tryin go delete: {}", outFile, ex); + log.error("An exception occurred while trying go delete: {}", outFile, ex); } } diff --git a/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java b/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java index 4aeb58b..f1741e2 100644 --- a/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java +++ b/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java @@ -70,7 +70,7 @@ public class RestoreBackupRunnable implements Runnable { FutureTask waitForShutdown = new FutureTask<>(() -> { ctx.server().getThread().join(); //wait for server to die and save all its state if(config.get().backupOldWorlds) { - return MakeBackupRunnableFactory.create( + return MakeBackupRunnableFactory.create ( BackupContext.Builder .newBackupContextBuilder() .setServer(ctx.server())