mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8300308: java.text.MessageFormat has incorrect doc comment
Reviewed-by: naoto, lancea
This commit is contained in:
parent
dfe94b89f8
commit
31a2e02afc
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ import java.util.Locale;
|
||||||
* MessageFormat mf = new MessageFormat("{0}, {0}, {0}");
|
* MessageFormat mf = new MessageFormat("{0}, {0}, {0}");
|
||||||
* String forParsing = "x, y, z";
|
* String forParsing = "x, y, z";
|
||||||
* Object[] objs = mf.parse(forParsing, new ParsePosition(0));
|
* Object[] objs = mf.parse(forParsing, new ParsePosition(0));
|
||||||
* // result now equals {new String("z")}
|
* // objs now equals {new String("z")}
|
||||||
* }
|
* }
|
||||||
* </blockquote>
|
* </blockquote>
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue