RFR: 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch

Eirik Bjorsnos duke at openjdk.org
Fri Feb 10 12:12:19 UTC 2023


The Javadocs of Arrays.compare and Arrays.mismatch uses the incorrect capitalization `atoIndex` and `btoIndex` when referencing the corresponding `aToIndex` and `bToIndex` parameters.

Sample:


* specified ranges [{@code aFromIndex}, {@code atoIndex}) and
* [{@code bFromIndex}, {@code btoIndex}) respectively:


This PR changes the capitalization to `aToIndex` and `bToIndex`. This change was performed using case-sensitive search / replace in an IDE.

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

Commit messages:
 - Fix incorrect capitalization of aToIndex, bToIndex in Arrays.mismatch and Arrays.compare Javadocs

Changes: https://git.openjdk.org/jdk/pull/12488/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12488&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8302214
  Stats: 58 lines in 1 file changed: 0 ins; 0 del; 58 mod
  Patch: https://git.openjdk.org/jdk/pull/12488.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12488/head:pull/12488

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


More information about the core-libs-dev mailing list