From 00e0a0f79ac7d2b8ab3131daf0bb17a9a2251be6 Mon Sep 17 00:00:00 2001 From: JaniruTEC Date: Tue, 11 Aug 2020 23:11:20 +0200 Subject: [PATCH] Fixed doc for MountPointChooser --- .../org/cryptomator/common/mountpoint/MountPointChooser.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/commons/src/main/java/org/cryptomator/common/mountpoint/MountPointChooser.java b/main/commons/src/main/java/org/cryptomator/common/mountpoint/MountPointChooser.java index dc972b5e8..fb5a6eaa5 100644 --- a/main/commons/src/main/java/org/cryptomator/common/mountpoint/MountPointChooser.java +++ b/main/commons/src/main/java/org/cryptomator/common/mountpoint/MountPointChooser.java @@ -104,7 +104,9 @@ public interface MountPointChooser { * * @param mountPoint the Mountpoint chosen by {@link #chooseMountPoint()} * @return a boolean flag; true if cleanup is needed, false otherwise - * @throws InvalidMountPointException + * @throws InvalidMountPointException if the preparation fails + * @see #chooseMountPoint() + * @see #cleanup(Path) */ default boolean prepare(Path mountPoint) throws InvalidMountPointException { return false; //NO-OP @@ -119,6 +121,7 @@ public interface MountPointChooser { * Exceptions in this method should be handled gracefully. * * @param mountPoint the Mountpoint that was prepared by {@link #prepare(Path)} + * @see #prepare(Path) */ default void cleanup(Path mountPoint) { //NO-OP