Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4262787

error in documentation for File.listFiles(FileFilter)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2, 1.3.0
    • docs
    • generic
    • generic



      Name: rlT66838 Date: 08/16/99


      http://java.sun.com/products/jdk/1.2/docs/api/java/io/File.html#listFiles()

      In the description of public File[] listFiles(FileFilter filter),
      it says that "the FilenameFilter.accept(java.io.File, java.lang.String)
      method of the filter is invoked on the pathname". However, this
      doesn't make sense since the filter is a FileFilter, not a
      FilenameFilter.
      (Review ID: 93970)
      ======================================================================

            shommel Scott Hommel (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: