RFR: 8351897: Extra closing curly brace typos in Javadoc
Iris Clark
iris at openjdk.org
Thu Mar 13 01:50:52 UTC 2025
On Thu, 13 Mar 2025 01:21:54 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> This PR fixes minor Javadoc typos in a few `java.base` classes. Extra curly braces have been sneaking in.
src/java.base/share/classes/java/text/MessageFormat.java line 327:
> 325: * <th scope="row" style="font-weight:normal">{@code unit}
> 326: * <td>{@link ListFormat#getInstance(Locale, ListFormat.Type, ListFormat.Style)
> 327: * ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#UNIT}, {@link ListFormat.Style#FULL})
The new ')' at the end of the line. Where's the matching '('? I'm guessing that the IDE thinks it's the one immediately before the `getLocale()`, but I suspect that javadoc won't agree with that.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24022#discussion_r1992525288
More information about the core-libs-dev
mailing list