On Mon, 7 Nov 2022 16:54:32 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> java.util.Enumeration is a legacy interface from java 1.0. > There are a few places with 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: 66228f77 Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/66228f77fe37899722fb414ca6fa45f94be85116 Stats: 36 lines in 3 files changed: 0 ins; 30 del; 6 mod 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto Reviewed-by: weijun, wetmore ------------- PR: https://git.openjdk.org/jdk/pull/11022