<i18n dev> RFR: 8300308: java.text.MessageFormat has incorrect doc comment
Justin Lu
jlu at openjdk.org
Tue Jan 17 21:39:00 UTC 2023
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`
-------------
Commit messages:
- Fix conflicts
- Use correct variable (objs)
Changes: https://git.openjdk.org/jdk/pull/12050/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12050&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8300308
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12050.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12050/head:pull/12050
PR: https://git.openjdk.org/jdk/pull/12050
More information about the i18n-dev
mailing list