diff options
author | Keuin <[email protected]> | 2021-02-15 18:13:44 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-02-15 18:13:44 +0800 |
commit | b171d46ce07a9ed9a426779fcff92dd1f56b3dd1 (patch) | |
tree | 3df106d0000c12a7749fd24e28d2fde69983ae39 /src/main/java/com/keuin/kbackupfabric/autobackup | |
parent | 6d6f0b486ac42b6bd69ddb8862ee3af7b819f3a7 (diff) |
Minor bugfix: incremental backup without `backups` directory created will fail.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/autobackup')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupDispatcher.java (renamed from src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupScheduler.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupScheduler.java b/src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupDispatcher.java index c35a35d..32d626e 100644 --- a/src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupScheduler.java +++ b/src/main/java/com/keuin/kbackupfabric/autobackup/AutoBackupDispatcher.java @@ -5,14 +5,14 @@ import java.util.Timer; import java.util.TimerTask; import java.util.logging.Logger; -public class AutoBackupScheduler { +public class AutoBackupDispatcher { private Timer timer = null; - private final Logger logger = Logger.getLogger(AutoBackupScheduler.class.getName()); + private final Logger logger = Logger.getLogger(AutoBackupDispatcher.class.getName()); private boolean skipIfNoPlayerLoggedIn; private final PlayerActivityTracker playerActivityTracker; - public AutoBackupScheduler(int intervalSeconds, boolean skipIfNoPlayerLoggedIn, PlayerActivityTracker playerActivityTracker) { + public AutoBackupDispatcher(int intervalSeconds, boolean skipIfNoPlayerLoggedIn, PlayerActivityTracker playerActivityTracker) { this.skipIfNoPlayerLoggedIn = skipIfNoPlayerLoggedIn; this.playerActivityTracker = playerActivityTracker; if (intervalSeconds > 0) |