diff options
author | Keuin <[email protected]> | 2021-01-24 20:04:41 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2021-01-24 20:04:41 +0800 |
commit | cc2b5aac3a99dd45b55a701efd4b6c206a21b237 (patch) | |
tree | a50b3124272ba52fb83d34d38134aa32ca85d150 | |
parent | 8c003a00fea2323c7a9d2ed5fa9efd2472dc5043 (diff) |
Clean comments
3 files changed, 2 insertions, 9 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionFactory.java b/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionFactory.java index 9b1a226..04ae96e 100644 --- a/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionFactory.java +++ b/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionFactory.java @@ -44,8 +44,6 @@ public class ObjectCollectionFactory<T extends ObjectIdentifier> { if (!Objects.requireNonNull(directory).isDirectory()) throw new IllegalArgumentException("given file is not a directory"); - - // TODO: use putter instead Set<File> files = new HashSet<>(); for (Iterator<Path> iter = Files.walk(directory.toPath(), 1).iterator(); iter.hasNext(); ) { Path path = iter.next(); @@ -173,8 +171,4 @@ public class ObjectCollectionFactory<T extends ObjectIdentifier> { } } -// private interface Puttable<K, V> { -// void put(K key, V value); -// } - } diff --git a/src/main/java/com/keuin/kbackupfabric/backup/provider/AvailableBackupProvider.java b/src/main/java/com/keuin/kbackupfabric/backup/provider/AvailableBackupProvider.java index 43a7a01..b6082ba 100644 --- a/src/main/java/com/keuin/kbackupfabric/backup/provider/AvailableBackupProvider.java +++ b/src/main/java/com/keuin/kbackupfabric/backup/provider/AvailableBackupProvider.java @@ -4,5 +4,5 @@ package com.keuin.kbackupfabric.backup.provider; * List all backup in disk. Provide their basic information as soon as possible. */ public class AvailableBackupProvider { - // TODO: remove obsolete impl. in command user interface. Use this instead. + // TODO: remove obsolete implementation in command user interface. Use this instead. } diff --git a/src/main/java/com/keuin/kbackupfabric/backup/provider/IncrementalBackupInformation.java b/src/main/java/com/keuin/kbackupfabric/backup/provider/IncrementalBackupInformation.java index 4c4f847..bd85ba2 100644 --- a/src/main/java/com/keuin/kbackupfabric/backup/provider/IncrementalBackupInformation.java +++ b/src/main/java/com/keuin/kbackupfabric/backup/provider/IncrementalBackupInformation.java @@ -5,8 +5,7 @@ import com.keuin.kbackupfabric.backup.name.BackupFileNameEncoder; import java.time.LocalDateTime; public class IncrementalBackupInformation extends BackupFileNameEncoder.BackupBasicInformation { - // TODO: show total size for incremental backup - + // TODO: show total size for incremental backups public IncrementalBackupInformation(String customName, LocalDateTime time) { super(customName, time); } |