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:
 - Revert
 - Add missing semicolons
 - Swap to use snippet
 - Fix conflicts
 - Use correct variable (objs)

Changes: https://git.openjdk.org/jdk/pull/12054/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12054&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/12054.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12054/head:pull/12054

PR: https://git.openjdk.org/jdk/pull/12054

Reply via email to