Skip to content

Commit 807b46a

Browse files
committed
Javadoc.
1 parent 369e45f commit 807b46a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* <h2>Using Classic IO</h2>
3333
* <pre>
3434
* File dir = new File(".");
35-
* String[] files = dir.list(FileFileFilter.FILE);
35+
* String[] files = dir.list(FileFileFilter.INSTANCE);
3636
* for (String file : files) {
3737
* System.out.println(file);
3838
* }
@@ -41,7 +41,7 @@
4141
* <h2>Using NIO</h2>
4242
* <pre>
4343
* final Path dir = Paths.get("");
44-
* final AccumulatorPathVisitor visitor = AccumulatorPathVisitor.withLongCounters(FileFileFilter.FILE);
44+
* final AccumulatorPathVisitor visitor = AccumulatorPathVisitor.withLongCounters(FileFileFilter.INSTANCE);
4545
* //
4646
* // Walk one dir
4747
* Files.<b>walkFileTree</b>(dir, Collections.emptySet(), 1, visitor);

0 commit comments

Comments
 (0)