File tree Expand file tree Collapse file tree
src/main/java/org/cryptomator/integrations/revealpaths Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99public interface RevealPathsService {
1010
1111 /**
12- * Loads all supported service implementations .
12+ * Loads all supported service providers .
1313 *
1414 * @return Stream of supported RevealPathsService implementations (may be empty)
1515 */
@@ -21,10 +21,9 @@ static Stream<RevealPathsService> get() {
2121 * Opens the parent of the given path in the system default file manager and highlights the resource the path points to.
2222 *
2323 * @param p Path to reveal
24- * @throws RevealFailedException If the file manager could not be opened or {@code p} does not have a parent
25- * @throws java.nio.file.NoSuchFileException If {@code p} does not exist
24+ * @throws RevealFailedException If the file manager could not be opened
25+ * @throws IllegalArgumentException If {@code p} does not have a parent
2626 */
27- //TODO: Throw IllegalArgumenException if p.getParent() == null?
2827 void reveal (Path p ) throws RevealFailedException , NoSuchFileException ;
2928
3029 /**
You can’t perform that action at this time.
0 commit comments