From cc2b5aac3a99dd45b55a701efd4b6c206a21b237 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 24 Jan 2021 20:04:41 +0800 Subject: Clean comments --- .../kbackupfabric/backup/incremental/ObjectCollectionFactory.java | 6 ------ .../kbackupfabric/backup/provider/AvailableBackupProvider.java | 2 +- .../kbackupfabric/backup/provider/IncrementalBackupInformation.java | 3 +-- 3 files changed, 2 insertions(+), 9 deletions(-) (limited to 'src/main/java/com/keuin/kbackupfabric/backup') 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 { if (!Objects.requireNonNull(directory).isDirectory()) throw new IllegalArgumentException("given file is not a directory"); - - // TODO: use putter instead Set files = new HashSet<>(); for (Iterator iter = Files.walk(directory.toPath(), 1).iterator(); iter.hasNext(); ) { Path path = iter.next(); @@ -173,8 +171,4 @@ public class ObjectCollectionFactory { } } -// private interface Puttable { -// 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); } -- cgit v1.2.3