On Thu, 13 Mar 2025 01:21:54 GMT, Archie Cobbs <[email protected]> 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