Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8300308: java.text.MessageFormat has incorrect doc comment
Reviewed-by: naoto, lancea
  • Loading branch information
Justin Lu authored and naotoj committed Jan 18, 2023
1 parent dfe94b8 commit 31a2e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/text/MessageFormat.java
Expand Up @@ -333,7 +333,7 @@
* 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>
*
Expand Down

1 comment on commit 31a2e02

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.