On Thu, 20 Oct 2022 20:28:37 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> `java.util.Enumeration` is a legacy interface from java 1.0.
> There are couple of cycles which use it to iterate over collections. We can 
> replace this manual cycle with enchanced-for, which is shorter and easier to 
> read.

This pull request has now been integrated.

Changeset: 46e6aee0
Author:    Andrey Turbanov <aturba...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/46e6aee0d0b868c4c45b7c25cd3fd951d199b1ed
Stats:     5 lines in 2 files changed: 0 ins; 1 del; 4 mod

8295823: Use enhanced-for cycle instead of Enumeration in java.naming

Reviewed-by: aefimov, dfuchs, vtewari

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

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

Reply via email to