simplified line

This commit is contained in:
Sebastian Stenzel
2020-11-18 18:09:30 +01:00
parent 2de151aebe
commit 4c66f81736

View File

@@ -28,7 +28,7 @@ class MacVolumeMountChooser implements MountPointChooser {
@Override
public Optional<Path> chooseMountPoint(Volume caller) {
return Optional.of(VOLUME_PATH).map(dir -> this.helper.chooseTemporaryMountPoint(this.vaultSettings, dir));
return Optional.of(helper.chooseTemporaryMountPoint(vaultSettings, VOLUME_PATH));
}
@Override