Name: ddT132432 Date: 10/04/2001
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
There is a textual error in the API specification at this URL:
http://java.sun.com/products/jdk/1.2/docs/api/java/text/ChoiceFormat.html
The text gives the following example:
String[] monthNames = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
Shouldn't the variable be more meaningful like
String[] dayNames = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
(Review ID: 133160)
======================================================================
- duplicates
-
JDK-5061148 Incorrect example in java.text.ChoiceFormat doc
-
- Closed
-