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

Tingjun Yuan duke at openjdk.org
Thu Apr 6 06:38:23 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`.

This pull request has now been integrated.

Changeset: b5ea140d
Author:    Tingjun Yuan <yuantj1999 at outlook.com>
Committer: Julian Waters <jwaters at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b5ea140dff0ba0b1ce22063e2b4af10a3b2086f3
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8269843: typo in LinkedHashMap::removeEldestEntry spec

Reviewed-by: martin

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

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


More information about the core-libs-dev mailing list