Skip to content

Commit 3853159

Browse files
committed
Change specification
1 parent d3f9a24 commit 3853159

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/main/java/org/cryptomator/integrations/revealpaths/RevealPathsService.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public 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
/**

0 commit comments

Comments
 (0)