8262875: doccheck: empty paragraphs, etc in java.base module

Reviewed-by: alanb, darcy, lancea
This commit is contained in:
Jonathan Gibbons 2021-03-02 20:35:51 +00:00
parent f304b74e0a
commit 20b9ba53a5
8 changed files with 8 additions and 9 deletions

View file

@ -264,7 +264,7 @@ public final class Integer extends Number
* <blockquote>
* {@code Integer.toHexString(n).toUpperCase()}
* </blockquote>
* <p>
*
* @apiNote
* The {@link java.util.HexFormat} class provides formatting and parsing
* of byte arrays and primitives to return a string or adding to an {@link Appendable}.

View file

@ -299,7 +299,7 @@ public final class Long extends Number
* <blockquote>
* {@code Long.toHexString(n).toUpperCase()}
* </blockquote>
* <p>
*
* @apiNote
* The {@link java.util.HexFormat} class provides formatting and parsing
* of byte arrays and primitives to return a string or adding to an {@link Appendable}.

View file

@ -1681,7 +1681,7 @@ public class MethodHandles {
* (used during {@link #findClass} invocations)
* are determined by the lookup class' loader,
* which may change due to this operation.
* <p>
*
* @param requestedLookupClass the desired lookup class for the new lookup object
* @return a lookup object which reports the desired lookup class, or the same object
* if there is no change

View file

@ -131,14 +131,14 @@ public interface Comparator<T> {
*
* Finally, the implementor must ensure that {@code compare(x,
* y)==0} implies that {@code signum(compare(x,
* z))==signum(compare(y, z))} for all {@code z}.<p>
* z))==signum(compare(y, z))} for all {@code z}.
*
* @apiNote
* It is generally the case, but <i>not</i> strictly required that
* {@code (compare(x, y)==0) == (x.equals(y))}. Generally speaking,
* any comparator that violates this condition should clearly indicate
* this fact. The recommended language is "Note: this comparator
* imposes orderings that are inconsistent with equals."<p>
* imposes orderings that are inconsistent with equals."
*
* @param o1 the first object to be compared.
* @param o2 the second object to be compared.

View file

@ -37,7 +37,7 @@
* <ul>
* <li><b>Info-ZIP file format</b> - The JAR format is based on the Info-ZIP
* file format. See
* <a href="../zip/package-summary.html#package.description">java.util.zip
* <a href="../zip/package-summary.html#package-description">java.util.zip
* package description.</a> <p>
* In JAR files, all file names must be encoded in the UTF-8 encoding.
* <li><a href="{@docRoot}/../specs/jar/jar.html">

View file

@ -39,7 +39,7 @@ import sun.nio.ch.DirectBuffer;
* popular ZLIB compression library. The ZLIB compression library was
* initially developed as part of the PNG graphics standard and is not
* protected by patents. It is fully described in the specifications at
* the <a href="package-summary.html#package.description">java.util.zip
* the <a href="package-summary.html#package-description">java.util.zip
* package description</a>.
* <p>
* This class deflates sequences of bytes into ZLIB compressed data format.

View file

@ -39,7 +39,7 @@ import sun.nio.ch.DirectBuffer;
* popular ZLIB compression library. The ZLIB compression library was
* initially developed as part of the PNG graphics standard and is not
* protected by patents. It is fully described in the specifications at
* the <a href="package-summary.html#package.description">java.util.zip
* the <a href="package-summary.html#package-description">java.util.zip
* package description</a>.
* <p>
* This class inflates sequences of ZLIB compressed bytes. The input byte

View file

@ -76,7 +76,6 @@ public interface SSLSessionContext {
* <code>SSLSessionContext</code>.
* <p>Session contexts may not contain all sessions. For example,
* stateless sessions are not stored in the session context.
* <p>
*
* @return an enumeration of all the Session id's
*/