RFR: JDK-8269843: typo in LinkedHashMap::removeEldestEntry spec

Martin Buchholz martin at openjdk.org
Thu Apr 6 02:29:08 UTC 2023


On Thu, 6 Apr 2023 00:49:33 GMT, Tingjun Yuan <duke at openjdk.org> wrote:

> Fix a typo in the specification of `java.util.LinkedHashMap.removeEldestEntry(Map.Entry)`.
> 
>> This is the entry that will be removed **it** this method returns `true`.
> 
> will become:
> 
>> This is the entry that will be removed **if** this method returns `true`.

Marked as reviewed by martin (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13367#pullrequestreview-1373966866


More information about the core-libs-dev mailing list