Integrated: 8349383: (fs) FileTreeWalker.next() superfluous null check of visit() return value

Brian Burkhalter bpb at openjdk.org
Wed Feb 5 21:43:15 UTC 2025


On Wed, 5 Feb 2025 01:57:41 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Remove the `do-while` loop which was conditional on `Event` being `null` when it can never be so.

This pull request has now been integrated.

Changeset: b499c827
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b499c827a512fb209a806d95b97df0f5932a29c0
Stats:     41 lines in 1 file changed: 6 ins; 12 del; 23 mod

8349383: (fs) FileTreeWalker.next() superfluous null check of visit() return value

Reviewed-by: djelinski

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

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


More information about the nio-dev mailing list