Name: skT45625 Date: 08/22/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The current JavaDoc for java.io.File filter interface is:
/**
* A filter for abstract pathnames.
*
* <p> Instances of this interface may be passed to the <code>{@link
* File#listFiles(java.io.FileFilter) listFiles(FileFilter)}</code> method
* of the <code>{@link java.io.FileFilter}</code> class.
*
* @since 1.2
*/
This is errouneous in that the method listFiles(FileFilter) is a method of the
java.io.File class, and not java.io.FileFilter. A simple misstype, but might
be confusing to a newcomer.
(Review ID: 108753)
======================================================================
- duplicates
-
JDK-4262787 error in documentation for File.listFiles(FileFilter)
-
- Closed
-