From a3b22bfe323c2cfa75d0bb83110ec59fb031cf86 Mon Sep 17 00:00:00 2001 From: Keuin Date: Tue, 26 Jan 2021 18:07:11 +0800 Subject: BugFix: fixed malformed success message of incremental backup. --- .../operation/backup/feedback/IncrementalBackupFeedback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/IncrementalBackupFeedback.java') diff --git a/src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/IncrementalBackupFeedback.java b/src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/IncrementalBackupFeedback.java index 1a05c8c..bdd6d88 100644 --- a/src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/IncrementalBackupFeedback.java +++ b/src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/IncrementalBackupFeedback.java @@ -24,7 +24,7 @@ public class IncrementalBackupFeedback implements BackupFeedback { @Override public String getFeedback() { if (success && copyResult != null) - return String.format("File(s) added: %s.", copyResult); + return copyResult.toString(); else return "Backup failed."; } -- cgit v1.2.3