RFR: 8321637: Simplify if statement in ArraysSupport::hugeLength
John Jiang
jjiang at openjdk.org
Sat Dec 9 23:25:27 UTC 2023
It looks the `else-if` and `else` clauses in method `ArraysSupport::hugeLength` could be simplified by `Math::max`.
-------------
Commit messages:
- 8321637: Simplify if statement in ArraysSupport::hugeLength
Changes: https://git.openjdk.org/jdk/pull/17043/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17043&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8321637
Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/17043.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17043/head:pull/17043
PR: https://git.openjdk.org/jdk/pull/17043
More information about the core-libs-dev
mailing list