summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionFactory.java6
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/provider/AvailableBackupProvider.java2
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/provider/IncrementalBackupInformation.java3
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);
}