Integrated: 8273168: Remove superfluous use of boxing in java.desktop
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Tue Sep 7 21:16:07 UTC 2021
On Tue, 31 Aug 2021 07:37:21 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.
This pull request has now been integrated.
Changeset: 708407ed
Author: Andrey Turbanov <turbanoff at gmail.com>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/708407eddc9d52c01de02e3986c05e1c6225fa85
Stats: 18 lines in 7 files changed: 0 ins; 1 del; 17 mod
8273168: Remove superfluous use of boxing in java.desktop
Reviewed-by: aivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/5313
More information about the client-libs-dev
mailing list