Integrated: 8299600: Use Objects.check*() where appropriate in java.io

Sergey Tsypanov stsypanov at openjdk.org
Fri Jan 6 21:04:57 UTC 2023


On Wed, 4 Jan 2023 15:50:35 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

> Use the following methods instead of hand-written code:
> - Objects.checkFromIndexSize()
> - Objects.checkFromToIndex()

This pull request has now been integrated.

Changeset: d086e82b
Author:    Sergey Tsypanov <stsypanov at openjdk.org>
Committer: Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d086e82b3c554362a8fc7095025f8f2910d6e4bc
Stats:     37 lines in 6 files changed: 10 ins; 9 del; 18 mod

8299600: Use Objects.check*() where appropriate in java.io

Reviewed-by: alanb, bpb

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

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


More information about the core-libs-dev mailing list