Skip to content

Commit 1df1c0c

Browse files
committed
Javadoc
1 parent db5ea4f commit 1df1c0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/commons/text/lookup/AbstractPathFencedLookup.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
abstract class AbstractPathFencedLookup extends AbstractStringLookup {
3131

3232
/**
33-
* Fences guarding Path resolution.
33+
* A fence is made of Paths guarding Path resolution.
3434
*/
3535
protected final List<Path> fences;
3636

@@ -44,11 +44,11 @@ abstract class AbstractPathFencedLookup extends AbstractStringLookup {
4444
}
4545

4646
/**
47-
* Gets a Path for the given file name checking that it resolves within our fences.
47+
* Gets a Path for the given file name checking that it resolves within our fence.
4848
*
4949
* @param fileName the file name to resolve.
5050
* @return a fenced Path.
51-
* @throws IllegalArgumentException if the file name is not without our fences.
51+
* @throws IllegalArgumentException if the file name is not without our fence.
5252
*/
5353
protected Path getPath(final String fileName) {
5454
final Path path = Paths.get(fileName);

0 commit comments

Comments
 (0)