Integrated: 8335905: CompoundElement API cleanup

Chen Liang liach at openjdk.org
Sun Jul 14 15:04:55 UTC 2024


On Tue, 9 Jul 2024 21:42:46 GMT, Chen Liang <liach at openjdk.org> wrote:

> `CompoundElement` already inherits `Iterable` and its `forEach(Consumer)`, thus we can remove `Iterable elements()` and `forEachElements(Consumer)`.

This pull request has now been integrated.

Changeset: a9f5e76a
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a9f5e76a65f743be9cd995fbea9c78ff9cef3402
Stats:     84 lines in 34 files changed: 2 ins; 11 del; 71 mod

8335905: CompoundElement API cleanup

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list