RFR: 8300308: java.text.MessageFormat has incorrect doc comment [v2]
Justin Lu
jlu at openjdk.org
Tue Jan 17 22:47:21 UTC 2023
On Tue, 17 Jan 2023 22:00: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`
>
> Justin Lu has updated the pull request incrementally with two additional commits since the last revision:
>
> - Add missing semicolons
> - Swap to use snippet
Closed, please refer to https://github.com/openjdk/jdk/pull/12054
-------------
PR: https://git.openjdk.org/jdk/pull/12050
More information about the core-libs-dev
mailing list