8351897: Extra closing curly brace typos in Javadoc

Reviewed-by: liach
This commit is contained in:
Archie Cobbs 2025-03-25 14:28:05 +00:00
parent fa0b18bfde
commit fe03e2ecbd
5 changed files with 14 additions and 14 deletions

View File

@ -168,7 +168,7 @@
* <p>
* For nonstandard attributes, user-provided attribute mappers can be specified
* through the use of the {@link
* ClassFile.AttributeMapperOption#of(Function)}}
* ClassFile.AttributeMapperOption#of(Function)}
* classfile option. Implementations of custom attributes should extend {@link
* CustomAttribute}.
*
@ -185,11 +185,11 @@
* -- unrecognized or problematic original attributes (default is {@code PASS_ALL_ATTRIBUTES})</li>
* <li>{@link ClassFile.ClassHierarchyResolverOption#of(ClassHierarchyResolver)}
* -- specify a custom class hierarchy resolver used by stack map generation</li>
* <li>{@link ClassFile.ConstantPoolSharingOption}}
* <li>{@link ClassFile.ConstantPoolSharingOption}
* -- share constant pool when transforming (default is {@code SHARED_POOL})</li>
* <li>{@link ClassFile.DeadCodeOption}}
* <li>{@link ClassFile.DeadCodeOption}
* -- patch out unreachable code (default is {@code PATCH_DEAD_CODE})</li>
* <li>{@link ClassFile.DeadLabelsOption}}
* <li>{@link ClassFile.DeadLabelsOption}
* -- filter unresolved labels (default is {@code FAIL_ON_DEAD_LABELS})</li>
* <li>{@link ClassFile.DebugElementsOption}
* -- processing of debug information, such as local variable metadata (default is {@code PASS_DEBUG}) </li>

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -366,7 +366,7 @@ public final class NetworkInterface {
* this machine.
*
* @apiNote This method can be used in combination with
* {@link #inetAddresses()}} to obtain a stream of all IP addresses for
* {@link #inetAddresses()} to obtain a stream of all IP addresses for
* this node, for example:
* <pre> {@code
* Stream<InetAddress> addrs = NetworkInterface.networkInterfaces()

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -316,15 +316,15 @@ import java.util.Objects;
* <th scope="row" style="font-weight:normal" rowspan=3>{@code list}
* <th scope="row" style="font-weight:normal"><i>(none)</i>
* <td>{@link ListFormat#getInstance(Locale, ListFormat.Type, ListFormat.Style)
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#STANDARD}, {@link ListFormat.Style#FULL})
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#STANDARD}, {@link ListFormat.Style#FULL}{@code )}
* <tr>
* <th scope="row" style="font-weight:normal">{@code or}
* <td>{@link ListFormat#getInstance(Locale, ListFormat.Type, ListFormat.Style)
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#OR}, {@link ListFormat.Style#FULL})
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#OR}, {@link ListFormat.Style#FULL}{@code )}
* <tr>
* <th scope="row" style="font-weight:normal">{@code unit}
* <td>{@link ListFormat#getInstance(Locale, ListFormat.Type, ListFormat.Style)
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#UNIT}, {@link ListFormat.Style#FULL}}
* ListFormat.getInstance}{@code (getLocale()}, {@link ListFormat.Type#UNIT}, {@link ListFormat.Style#FULL}{@code )}
* </tbody>
* </table>
*

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -222,7 +222,7 @@ abstract class AbstractTask<P_IN, P_OUT, R,
/**
* Does nothing; instead, subclasses should use
* {@link #setLocalResult(Object)}} to manage results.
* {@link #setLocalResult(Object)} to manage results.
*
* @param result must be null, or an exception is thrown (this is a safety
* tripwire to detect when {@code setRawResult()} is being used

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -833,7 +833,7 @@ public final class Collectors {
* The {@code reducing()} collectors are most useful when used in a
* multi-level reduction, downstream of {@code groupingBy} or
* {@code partitioningBy}. To perform a simple reduction on a stream,
* use {@link Stream#reduce(Object, BinaryOperator)}} instead.
* use {@link Stream#reduce(Object, BinaryOperator)} instead.
*
* @param <T> element type for the input and output of the reduction
* @param identity the identity value for the reduction (also, the value