RFR: XXS JDK-8213056,,Nested anchor tags in java.lang.module

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Oct 26 22:10:20 UTC 2018


Please review a couple of very small changes to fix some HTML issues in 
the generated docs.

The first change removes an empty paragraph; the second avoids causing 
nested <a> tags.

JBS: https://bugs.openjdk.java.net/browse/JDK-8213056

-- Jon



Changes inline here:

$ hg diff
diff -r 3a767a000aab src/java.base/share/classes/java/lang/String.java
--- a/src/java.base/share/classes/java/lang/String.java Fri Oct 26 
13:59:02 2018 -0700
+++ b/src/java.base/share/classes/java/lang/String.java Fri Oct 26 
15:06:33 2018 -0700
@@ -2821,7 +2821,6 @@
       * <p>
       * If {@code n == 0} then the line remains unchanged. However, line
       * terminators are still normalized.
-     * <p>
       *
       * @param n  number of leading
       *           {@link Character#isWhitespace(int) white space 
characters}
diff -r 3a767a000aab 
src/java.base/share/classes/java/lang/module/package-info.java
--- a/src/java.base/share/classes/java/lang/module/package-info.java Fri 
Oct 26 13:59:02 2018 -0700
+++ b/src/java.base/share/classes/java/lang/module/package-info.java Fri 
Oct 26 15:06:33 2018 -0700
@@ -34,7 +34,7 @@
   * will cause a {@code NullPointerException}, unless otherwise 
specified. </p>
   *
   *
- * <h1><a id="resolution">{@index "Module Resolution"}</a></h1>
+ * <h1><a id="resolution"></a>{@index "Module Resolution"}</h1>
   *
   * <p> Resolution is the process of computing how modules depend on 
each other.
   * The process occurs at compile time and run time. </p>



More information about the core-libs-dev mailing list