-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
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.
- duplicates
-
JDK-5053458 doc for Scanner.create(inputStream) specifies IOException in "throws" tag.
-
- Closed
-
- relates to
-
JDK-5063973 Scanner method create deleted from Java 1.5 beta 2
-
- Closed
-