Skip to content

Commit 945177b

Browse files
committed
Remove parameters from method getDefaultMountFlags
1 parent ab2868e commit 945177b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ default MountBuilder setMountpoint(Path mountPoint) {
5656
* @param mountFlags Mount flags
5757
* @return <code>this</code>
5858
* @throws UnsupportedOperationException If {@link MountCapability#MOUNT_FLAGS} is not supported
59-
* @see MountService#getDefaultMountFlags(String)
59+
* @see MountService#getDefaultMountFlags()
6060
*/
6161
@Contract("_ -> this")
6262
default MountBuilder setMountFlags(String mountFlags) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public enum MountCapability {
2020
LOOPBACK_PORT,
2121

2222
/**
23-
* The provider supports {@link MountService#getDefaultMountFlags(String)}
23+
* The service provider supports {@link MountService#getDefaultMountFlags()}
2424
* and the builder requires {@link MountBuilder#setMountFlags(String)}.
2525
*/
2626
MOUNT_FLAGS,

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ static Stream<MountService> get() {
4242
/**
4343
* Default mount flags. May be empty.
4444
*
45-
* @param mountName Name of the mount in the OS
4645
* @return Concatenated String of valid mount flags
4746
* @throws UnsupportedOperationException If {@link MountCapability#MOUNT_FLAGS} is not supported
4847
*/
49-
default String getDefaultMountFlags(String mountName) {
48+
default String getDefaultMountFlags() {
5049
throw new UnsupportedOperationException();
5150
}
5251

0 commit comments

Comments
 (0)