RFR: 8299600: Use Objects.check*() where appropriate in java.io [v2]

Sergey Tsypanov stsypanov at openjdk.org
Thu Jan 5 12:14:05 UTC 2023


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

Sergey Tsypanov has updated the pull request incrementally with two additional commits since the last revision:

 - 8299600: Use checkFromIndexSize in PipedWriter.java
 - 8299600: Use checkFromIndexSize

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11849/files
  - new: https://git.openjdk.org/jdk/pull/11849/files/facabce0..8af035f5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11849&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11849&range=00-01

  Stats: 5 lines in 5 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/11849.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11849/head:pull/11849

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


More information about the core-libs-dev mailing list