Skip to content

Commit 61f6ca0

Browse files
let's assume that there is no mount without a mount point
1 parent 3365a7a commit 61f6ca0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/org/cryptomator/integrations/mount/MountBuilder.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,10 @@ public interface MountBuilder {
2121
*
2222
* @param mountPoint Where to mount the volume
2323
* @return <code>this</code>
24-
* @throws UnsupportedOperationException If {@link MountFeature#MOUNT_POINT_EMPTY_DIR} is not supported // TODO: what MOUNT_POINT_* features do we really need?
2524
* @see MountProvider#getDefaultMountPoint(String)
2625
*/
2726
@Contract("_ -> this")
28-
default MountBuilder setMountpoint(Path mountPoint) {
29-
throw new UnsupportedOperationException();
30-
}
27+
MountBuilder setMountpoint(Path mountPoint);
3128

3229
// TODO: in what legacy mounter impl is this used?
3330
@Contract("_ -> this")

0 commit comments

Comments
 (0)