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

(file) FileVisitor.preVisitDirectory should make the BasicFileAttributes available

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • core-libs
    • None
    • generic
    • generic

      FileVisitor.visitFile includes the BasicFileAttributes as a parameter which makes recursive operations that require any of the basic attributes very efficient.

      It has been suggested that preVisitDirectory should pass the BasicFileAttributes aswell. This should improve performance of recursive operations where the ratio of directories to non-directories is high.

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: