summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java3
1 files changed, 1 insertions, 2 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 9060d88..be01966 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
@@ -55,8 +55,7 @@ public class IncrementalBackupStorageManager {
// element does not exist. copy.
Files.copy(copySourceFile.toPath(), copyDestination.toPath());
copyCount = copyCount.addWith(new IncCopyResult(1, 1, fileBytes, fileBytes));
- }
- {
+ } else {
// element exists (file reused). Just update the stat info
copyCount = copyCount.addWith(new IncCopyResult(1, 0, 0, fileBytes));
}