<i18n dev> Integrated: 8300308: java.text.MessageFormat has incorrect doc comment
Justin Lu
jlu at openjdk.org
Wed Jan 18 23:14:34 UTC 2023
On Tue, 17 Jan 2023 22:44:29 GMT, Justin Lu <jlu at openjdk.org> wrote:
> A code example for text.MessageFormat under the **Usage Information** section has a comment with the wrong variable name.
>
>
> * Object[] objs = mf.parse(forParsing, new ParsePosition(0));
> * // result now equals {new String("z")}
>
>
> The name of the intended variable should be `objs`, not `result`
This pull request has now been integrated.
Changeset: 31a2e02a
Author: Justin Lu <jlu at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/31a2e02afcf4853f71925ec75a9a6427b08b4cbd
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8300308: java.text.MessageFormat has incorrect doc comment
Reviewed-by: naoto, lancea
-------------
PR: https://git.openjdk.org/jdk/pull/12054
More information about the i18n-dev
mailing list