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

Jaikiran Pai jpai at openjdk.org
Mon Feb 13 06:25:26 UTC 2023


On Thu, 9 Feb 2023 10:13:03 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> 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.

The changes look fine to me.

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

Marked as reviewed by jpai (Reviewer).

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


More information about the core-libs-dev mailing list