summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/incremental
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/backup/incremental')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
index 1984362..945fcc4 100644
--- a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
+++ b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java
@@ -160,6 +160,7 @@ public class IncrementalBackupStorageManager {
*/
private boolean baseContainsObject(ObjectElement objectElement) {
// This may be extended to use more variants of hash functions and combinations of other attributes (such as file size)
+ //TODO: optimize this by using in-memory data structure
return (new File(backupStorageBase.toFile(), objectElement.getIdentifier().getIdentification())).exists();
}