RFR: JDK-8269843: typo in LinkedHashMap::removeEldestEntry spec
Tingjun Yuan
duke at openjdk.org
Thu Apr 6 00:57:19 UTC 2023
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`.
-------------
Commit messages:
- Fix typo in LinkedHashMap.java
Changes: https://git.openjdk.org/jdk/pull/13367/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13367&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8269843
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13367.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13367/head:pull/13367
PR: https://git.openjdk.org/jdk/pull/13367
More information about the core-libs-dev
mailing list