Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5032610
Votes 0
Synopsis java.util.Scanner factories should be constructors
Category java:classes_util
Reported Against 1.5 , tiger-beta
Release Fixed 1.5(tiger-b51)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 5053458 , 5063973
Submit Date 16-APR-2004
Description
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.
Work Around
N/A
Evaluation
To be proposed for Tiger.
  xxxxx@xxxxx   2004-04-15
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang