On Wed, 1 Sep 2021 10:44:07 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
>> parseInt/parseLong/parseShort/parseByte/parseFloat should be preferred, as >> they return primitives. While valueOf returns boxed object. > > Andrey Turbanov has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated changes > brought in by the merge/rebase. The pull request contains two additional > commits since the last revision: > > - Merge remote-tracking branch 'origin/master' into > redundant_boxing_in_java.desktop > - [PATCH] Cleanup redundant boxing in java.desktop module > parseInt/parseLong/parseShort/parseByte/parseFloat should be preferred, as > they return primitives. While valueOf returns boxed object. Marked as reviewed by aivanov (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk/pull/5313