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

DateTimeTextProvider.getInstance() returns a new instance every time

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 10
    • 8
    • core-libs
    • b11

    Description

      `DateTimeTextProvider.getInstance()` returns a new instance every time it is called. This seems to be unnecessary, and returning a singleton may have a small performance benefit to formatting/parsing.

      Attachments

        Activity

          People

            naoto Naoto Sato
            scolebourne Stephen Colebourne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: