Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299500

Usage of constructors of primitive wrapper classes should be avoided in java.text API docs

XMLWordPrintable

    • b05
    • generic
    • generic

        A DESCRIPTION OF THE PROBLEM :
        There are several code samples in the Java SE API documentation still using constructors of primitive wrapper classes, which are deprecated for removal. They should be replaced by valueOf factory methods or auto-boxing.

        Here's what I found:

        java.text.ChoiceFormat
        java.text.MessageFormat

              jlu Justin Lu
              tongwan Andrew Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: