From 354de225edf9a91f5528b12c682c46de6f733bcf Mon Sep 17 00:00:00 2001 From: JaniruTEC Date: Wed, 30 Sep 2020 14:09:01 +0200 Subject: [PATCH] Reverted changes to WebDavVolume#getMountPoint() See: https://github.com/cryptomator/cryptomator/pull/1307#discussion_r472888268 --- .../main/java/org/cryptomator/common/vaults/WebDavVolume.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/commons/src/main/java/org/cryptomator/common/vaults/WebDavVolume.java b/main/commons/src/main/java/org/cryptomator/common/vaults/WebDavVolume.java index ddc611649..6f343d000 100644 --- a/main/commons/src/main/java/org/cryptomator/common/vaults/WebDavVolume.java +++ b/main/commons/src/main/java/org/cryptomator/common/vaults/WebDavVolume.java @@ -27,6 +27,7 @@ public class WebDavVolume implements Volume { private WebDavServer server; private WebDavServletController servlet; private Mounter.Mount mount; + private Path mountPoint; @Inject public WebDavVolume(Provider serverProvider, VaultSettings vaultSettings, Settings settings) { @@ -97,7 +98,7 @@ public class WebDavVolume implements Volume { @Override public Optional getMountPoint() { - return Optional.empty(); //TODO + return Optional.ofNullable(mountPoint); //TODO } @Override