RFR: 8300308: java.text.MessageFormat has incorrect doc comment [v2]
Justin Lu
jlu at openjdk.org
Tue Jan 17 22:00:29 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`
Justin Lu has updated the pull request incrementally with two additional commits since the last revision:
- Add missing semicolons
- Swap to use snippet
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12050/files
- new: https://git.openjdk.org/jdk/pull/12050/files/60994b91..130127bd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12050&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12050&range=00-01
Stats: 21 lines in 1 file changed: 0 ins; 0 del; 21 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 core-libs-dev
mailing list