RFR: 8276048: Error in javadoc regarding Long method public static Long valueOf(String s)

Joe Darcy darcy at openjdk.java.net
Wed Nov 3 19:43:19 UTC 2021


On Wed, 27 Oct 2021 09:57:43 GMT, swati sharma <duke at openjdk.java.net> wrote:

> 8276048: Error in javadoc regarding Long method public static Long valueOf(String s)
> Fix: Changing integer to {@code Long}

Strictly speaking I do not view the current text as erroneous. At time "integer" is used an adjective; for example, 1 is an integer number while 1.5 is not. I've sometimes used "integral" as an adjective to avoid any confusion with the int(eger) type.

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

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


More information about the core-libs-dev mailing list