java.util.Scanner factories should be constructors

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • b51
    • sparc
    • solaris_9

      It is rather jarring that the Formatter uses constructors but the Scanner uses factory methods to make new instances. Although factory methods definitely have their advantages, the Scanner should use constructors like the Formatter for ease of use.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: