<i18n dev> RFR: 8300308: java.text.MessageFormat has incorrect doc comment

Naoto Sato naoto at openjdk.org
Tue Jan 17 22:55:46 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`

Marked as reviewed by naoto (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/12054


More information about the i18n-dev mailing list