Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 137bc94

Browse files
committed
removed MetadataCachingProviderDecorator from CloudAccess.toWebDAV because it's already applied to CloudAccess.vaultFormat8GCMCloudAccess, this also fixes an issue in combination with the crypto decorator because the delete method relies on the correctness of itemMetada
1 parent 2f8058c commit 137bc94

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/cryptomator/cloudaccess/CloudAccess.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public static CloudProvider vaultFormat8GCMCloudAccess(CloudProvider cloudProvid
5454
*/
5555
public static CloudProvider toWebDAV(URL url, String username, CharSequence password) {
5656
// TODO can we pass though CharSequence to the auth mechanism?
57-
var webdavCloudProvider = WebDavCloudProvider.from(WebDavCredential.from(url, username, password.toString()));
58-
return new MetadataCachingProviderDecorator(webdavCloudProvider);
57+
return WebDavCloudProvider.from(WebDavCredential.from(url, username, password.toString()));
5958
}
6059

6160
/**

0 commit comments

Comments
 (0)