8300308: java.text.MessageFormat has incorrect doc comment

Reviewed-by: naoto, lancea
This commit is contained in:
Justin Lu 2023-01-18 23:10:57 +00:00 committed by Naoto Sato
parent dfe94b89f8
commit 31a2e02afc

View file

@ -333,7 +333,7 @@ import java.util.Locale;
* MessageFormat mf = new MessageFormat("{0}, {0}, {0}");
* String forParsing = "x, y, z";
* Object[] objs = mf.parse(forParsing, new ParsePosition(0));
* // result now equals {new String("z")}
* // objs now equals {new String("z")}
* }
* </blockquote>
*