瀏覽代碼

remove another convinience method from vault class

Armin Schrenk 3 年之前
父節點
當前提交
0b488efbb3

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

@@ -192,10 +192,6 @@ public class Vault {
 		volume.reveal(vaultRevealer);
 	}
 
-	public void reloadConfig() throws IOException {
-		configCache.reloadConfig();
-	}
-
 	// ******************************************************************************
 	// Observable Properties
 	// *******************************************************************************

+ 1 - 1
src/main/java/org/cryptomator/common/vaults/VaultListManager.java

@@ -118,7 +118,7 @@ public class VaultListManager {
 				try {
 					var determinedState = determineVaultState(vault.getPath());
 					if (determinedState == LOCKED) {
-						vault.reloadConfig();
+						vault.getVaultConfigCache().reloadConfig();
 					}
 					state.set(determinedState);
 					yield determinedState;