RFR: 8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order [v2]

Pavel Rappo prappo at openjdk.org
Thu Feb 29 13:06:04 UTC 2024


> Please review this clarification to the specification of the two overloads of `java.nio.file.Files.walk`. No tests are added, as I believe the existing `StreamTest.testWalk*` methods already test the order sufficiently. I also took this opportunity to fix a few minor typos.

Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:

  Oops.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/18063/files
  - new: https://git.openjdk.org/jdk/pull/18063/files/6c6a242b..4240524b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18063&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18063&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18063.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18063/head:pull/18063

PR: https://git.openjdk.org/jdk/pull/18063


More information about the nio-dev mailing list