ソースを参照

removed unused StringBinding

Jan-Peter Klein 1 ヶ月 前
コミット
4adc4a9175
1 ファイル変更0 行追加10 行削除
  1. 0 10
      src/main/java/org/cryptomator/common/vaults/Vault.java

+ 0 - 10
src/main/java/org/cryptomator/common/vaults/Vault.java

@@ -75,7 +75,6 @@ public class Vault {
 	private final Mounter mounter;
 	private final Settings settings;
 	private final BooleanProperty showingStats;
-	private final StringBinding lastKnownKeyLoader;
 
 	private final AtomicReference<Mounter.MountHandle> mountHandle = new AtomicReference<>(null);
 
@@ -105,7 +104,6 @@ public class Vault {
 		this.settings = settings;
 		this.showingStats = new SimpleBooleanProperty(false);
 		this.quickAccessEntry = new AtomicReference<>(null);
-		this.lastKnownKeyLoader = Bindings.createStringBinding(this::getLastKnownKeyLoader, vaultSettings.lastKnownKeyLoader);
 	}
 
 	// ******************************************************************************
@@ -342,14 +340,6 @@ public class Vault {
 		return handle == null ? null : handle.mountObj().getMountpoint();
 	}
 
-	public StringBinding lastKnownKeyLoaderProperty() {
-		return lastKnownKeyLoader;
-	}
-
-	public String getLastKnownKeyLoader() {
-		return vaultSettings.lastKnownKeyLoader.get();
-	}
-
 	public StringBinding displayablePathProperty() {
 		return displayablePath;
 	}