RFR: 8315850: Improve AbstractMap anonymous Iterator classes [v2]

Stuart Marks smarks at openjdk.org
Thu Sep 7 17:53:38 UTC 2023


On Thu, 7 Sep 2023 17:23:20 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes to slightly improve some iterators of `AbstractMap`:
>> 
>> * Code reuse
>> * A field declared `final`
>> * Add missing `@Override` annotations
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove @Override annotations

Note, I had asked @minborg to remove the `@Override` annotations. They're generally not used in the collections framework, and where they are, they add a lot of clutter but not much value.

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

PR Comment: https://git.openjdk.org/jdk/pull/15615#issuecomment-1710557583


More information about the core-libs-dev mailing list