Skip to content

Commit 506eb27

Browse files
committed
Fix incorrect JavaDocs for PathFileObjectAssert.java
Signed-off-by: Ashley <73482956+ascopes@users.noreply.github.com>
1 parent fd4593e commit 506eb27

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PathFileObjectAssert.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ public PathFileObjectAssert(@Nullable PathFileObject actual) {
4343
}
4444

4545
/**
46-
* Perform an assertion on the file object's full path.
46+
* Perform an assertion on the file object's relative path.
47+
*
48+
* <p>The path is relative to the base directory holding all the
49+
* sources relative to their package names.
4750
*
4851
* @return the assertions for the path.
4952
* @throws AssertionError if the file object is null.
@@ -57,6 +60,8 @@ public AbstractPathAssert<?> relativePath() {
5760
/**
5861
* Perform an assertion on the file object's absolute path.
5962
*
63+
* <p>You generally should prefer using {@link #relativePath}.
64+
*
6065
* @return the assertions for the path.
6166
* @throws AssertionError if the file object is null.
6267
*/

0 commit comments

Comments
 (0)