Integrated: 8274234: Remove unnecessary boxing via primitive wrapper valueOf(String) methods in java.sql.rowset
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Fri Sep 24 14:12:58 UTC 2021
On Thu, 23 Sep 2021 19:47:51 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> Usages of methods Integer.valueOf, Byte.valueOf, Short.valueOf, Float.valueOf, Double.valueOf, Long.valueOf often can be simplified by using their pair methods parseInt/parseLong/parseShort/parseByte/parseFloat.
This pull request has now been integrated.
Changeset: f214d6e8
Author: Andrey Turbanov <turbanoff at gmail.com>
Committer: Lance Andersen <lancea at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f214d6e8736a620c8e1b87c30587aa0977cccc4c
Stats: 7 lines in 2 files changed: 0 ins; 1 del; 6 mod
8274234: Remove unnecessary boxing via primitive wrapper valueOf(String) methods in java.sql.rowset
Reviewed-by: lancea, bpb
-------------
PR: https://git.openjdk.java.net/jdk/pull/5662
More information about the core-libs-dev
mailing list