Replacing deprecated constructors of primitive wrapper classes. Used valueOf() 
method as replacement.

Alternatively, auto boxing could have been used here as well. It would be 
beneficial to set a precedent for the other related doc bugs.

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

Commit messages:
 - Replace constructors with valueOf()

Changes: https://git.openjdk.org/jdk/pull/11866/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11866&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299499
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11866.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11866/head:pull/11866

PR: https://git.openjdk.org/jdk/pull/11866

Reply via email to