> 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