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 f13f2da..af9d410 100644 --- a/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java +++ b/src/main/java/net/szum123321/textile_backup/config/ConfigPOJO.java @@ -28,6 +28,7 @@ import net.szum123321.textile_backup.TextileBackup; import java.time.format.DateTimeFormatter; import java.util.*; +//TODO: Remove BZIP2 and LZMA compressors. As for the popular vote @Config(name = TextileBackup.MOD_ID) public class ConfigPOJO implements ConfigData { @Comment("\nShould every world have its own backup folder?\n") diff --git a/src/main/java/net/szum123321/textile_backup/core/CompressionStatus.java b/src/main/java/net/szum123321/textile_backup/core/CompressionStatus.java index fa1ffbe..7ca0cfc 100644 --- a/src/main/java/net/szum123321/textile_backup/core/CompressionStatus.java +++ b/src/main/java/net/szum123321/textile_backup/core/CompressionStatus.java @@ -71,8 +71,8 @@ public record CompressionStatus(long treeHash, Map brokenFiles, .append(treeHash) .append(", Date: ") .append(date.format(DateTimeFormatter.ISO_DATE_TIME)) - .append(", start time stamp: ").append(startTimestamp) - .append(", finish time stamp: ").append(finishTimestamp) + .append(", start timestamp: ").append(startTimestamp) + .append(", finish timestamp: ").append(finishTimestamp) .append(", Mod Version: ").append(version); builder.append(", broken files: "); diff --git a/src/main/java/net/szum123321/textile_backup/core/create/FileInputStreamSupplier.java b/src/main/java/net/szum123321/textile_backup/core/create/FileInputStreamSupplier.java index 90ca134..7cadc99 100644 --- a/src/main/java/net/szum123321/textile_backup/core/create/FileInputStreamSupplier.java +++ b/src/main/java/net/szum123321/textile_backup/core/create/FileInputStreamSupplier.java @@ -39,8 +39,8 @@ public record FileInputStreamSupplier(Path path, String name, FileTreeHashBuilde try { return new HashingInputStream(Files.newInputStream(path), path, hashTreeBuilder, brokenFileHandler, latch); } catch (IOException e) { - //Probably good idea to just put it here. In the case an exception is thrown here, it would be probable - //The latch would never be lifted + //Probably good idea to just put it here. In the case an exception is thrown here, it could be possble + //The latch would have never been lifted latch.countDown(); brokenFileHandler.handle(path, e); throw e;