RFR: 8300308: java.text.MessageFormat has incorrect doc comment
Naoto Sato
naoto at openjdk.org
Tue Jan 17 21:44:36 UTC 2023
On Tue, 17 Jan 2023 21:28:23 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/12050
More information about the core-libs-dev
mailing list