Details
Description
A DESCRIPTION OF THE PROBLEM :
There are 2 places in the documentation for the Formatter class that indicate the Unicode value for 'd' is '\u0054'. The actual Unicode value is '\u0065'.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
'd' '\u0065' Formats the argument as a decimal integer. The localization algorithm is applied.
'd' '\u0065' Requires the output to be formatted as a decimal integer. The localization algorithm is applied.
ACTUAL -
'd' '\u0054' Formats the argument as a decimal integer. The localization algorithm is applied.
'd' '\u0054' Requires the output to be formatted as a decimal integer. The localization algorithm is applied.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
There are 2 places in the documentation for the Formatter class that indicate the Unicode value for 'd' is '\u0054'. The actual Unicode value is '\u0065'.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
'd' '\u0065' Formats the argument as a decimal integer. The localization algorithm is applied.
'd' '\u0065' Requires the output to be formatted as a decimal integer. The localization algorithm is applied.
ACTUAL -
'd' '\u0054' Formats the argument as a decimal integer. The localization algorithm is applied.
'd' '\u0054' Requires the output to be formatted as a decimal integer. The localization algorithm is applied.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax