On Tue, 17 Jan 2023 22:44:29 GMT, Justin Lu <[email protected]> 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 <[email protected]>
Committer: Naoto Sato <[email protected]>
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