RFR: 8247973: Javadoc incorrect for IdentityArrayList, IdentityLinkedList

ANUPAM DEV duke at openjdk.java.net
Fri Dec 3 07:41:31 UTC 2021


The documentation for following methods used equals() for object equality:

sun.awt.util.IdentityLinkedList#contains
sun.awt.util.IdentityArrayList#contains
sun.awt.util.IdentityArrayList#indexOf
sun.awt.util.IdentityArrayList#lastIndexOf
sun.awt.util.IdentityArrayList#remove(java.lang.Object)

I have updated the comments to use "==" operator for object equality. Kindly review the changes for the same.

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

Commit messages:
 - 8247973: Javadoc incorrect for IdentityArrayList, IdentityLinkedList
 - Merge pull request #1 from anupamdev20/JDK-8255675
 - 8255675: Typo in java.net.HttpURLConnection

Changes: https://git.openjdk.java.net/jdk/pull/6694/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6694&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8247973
  Stats: 19 lines in 3 files changed: 8 ins; 0 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6694.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6694/head:pull/6694

PR: https://git.openjdk.java.net/jdk/pull/6694



More information about the client-libs-dev mailing list