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

Possible error in documentation of a listFiles method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0, 1.2.2, 1.3.0
    • docs
    • beta
    • generic, sparc
    • generic, solaris_2.6



      Name: diC59631 Date: 09/04/98


      There may be errors in the documentation of the File class method

          public File[] listFiles(FileFilter filter)

      on page http://java.sun.com/products/jdk/1.2/docs/api/java/io/File.html

      I think the descriptive paragraph has been cut from the immediately
      preceding method description and pasted without sufficient editing. In
      particular, I think the reference to

          FilenameFilter.accept(java.io.File, java.lang.String)

      should read

          FileFilter.accept(java.io.File)

      I also think the parameters section should read

          filter - A file filter
      (Review ID: 38015)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: