Integrated: 8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order

Pavel Rappo prappo at openjdk.org
Fri Mar 1 13:51:55 UTC 2024


On Thu, 29 Feb 2024 12:56:35 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 012411ad
Author:    Pavel Rappo <prappo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/012411ad8dced3cd1f4ec6e002ebd2d84d2461f5
Stats:     16 lines in 2 files changed: 2 ins; 0 del; 14 mod

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

Reviewed-by: alanb, gli

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

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


More information about the nio-dev mailing list