On Mon, 30 Mar 2026 16:05:44 GMT, Roger Riggs <[email protected]> wrote:

>> In the IdentityHashMap class javadoc elaborate the meaning and use of `==` 
>> sameness meaning indistinguishable.
>
> Roger Riggs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Use {@code} markup for `==`

Marked as reviewed by liach (Committer).

src/java.base/share/classes/java/util/IdentityHashMap.java line 38:

> 36: /**
> 37:  * This class implements the {@code Map} interface with a hash table, 
> using
> 38:  * {@code == } in place of {@code }.equals()} equality when comparing 
> keys (and values).

Suggestion:

 * {@code == } in place of {@code .equals()} equality when comparing keys (and 
values).

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

PR Review: 
https://git.openjdk.org/valhalla/pull/2251#pullrequestreview-4033719818
PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2251#discussion_r3012597758

Reply via email to