RFR: 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Justin Lu
duke at openjdk.org
Tue Jan 10 01:20:50 UTC 2023
On Tue, 10 Jan 2023 01:14:14 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> It'd be good to update the javadoc of `Byte.valueOf(String s)` and `Byte.valueOf(String s, int radix)` to replace `new Byte(...)` with `Byte.valueOf`.
Thanks for spotting that, I will also add those changes into this PR.
-------------
PR: https://git.openjdk.org/jdk/pull/11912
More information about the core-libs-dev
mailing list