summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java b/src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java
index 08e12b2..7e87815 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/BackupNameSuggestionProvider.java
@@ -12,6 +12,7 @@ import java.util.Locale;
import java.util.concurrent.CompletableFuture;
public class BackupNameSuggestionProvider {
+
private static final List<String> candidateCacheList = new ArrayList<>();
private static final Object syncSetDirectory = new Object();
private static final Object syncUpdate = new Object();
@@ -48,7 +49,7 @@ public class BackupNameSuggestionProvider {
// candidateList.addAll(stringCollection);
// }
- public static SuggestionProvider<ServerCommandSource> getSuggestionProvider() {
+ public static SuggestionProvider<ServerCommandSource> getProvider() {
return (context, builder) -> getCompletableFuture(builder);
}