RFR: 8273168: Remove superfluous use of boxing in java.desktop [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Sep 7 20:01:11 UTC 2021
On Wed, 1 Sep 2021 10:44:07 GMT, Andrey Turbanov <github.com+741251+turbanoff at 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
More information about the client-libs-dev
mailing list