RFR: 8274234: Remove unnecessary boxing via primitive wrapper valueOf(String) methods in java.sql.rowset

Brian Burkhalter bpb at openjdk.java.net
Thu Sep 23 21:41:51 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.

Marked as reviewed by bpb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/5662


More information about the core-libs-dev mailing list