From 011ac22afbffe80de478451f812c0853e8153af3 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 23 Jan 2021 15:55:39 +0800 Subject: I decided to change the version to `1.5.0` in order to stress the non forward-compatible for 1.4.6 created backups in older versions (<=1.4.5). --- .../kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/keuin/kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java') diff --git a/src/main/java/com/keuin/kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java b/src/main/java/com/keuin/kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java index 8910d7f..77e19b9 100644 --- a/src/main/java/com/keuin/kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java +++ b/src/main/java/com/keuin/kbackupfabric/backup/name/IncrementalBackupFileNameEncoder.java @@ -7,6 +7,7 @@ import java.util.regex.Pattern; public class IncrementalBackupFileNameEncoder implements BackupFileNameEncoder { private static final String backupFileNamePrefix = "incremental"; + // TODO: Merge all date formatter like this, into one single instance private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd_HH-mm-ss"); // TODO: make this private and use singleton pattern -- cgit v1.2.3