changeset 3912:6a9dd3d893b0 jdk-9+154

8173164: Resolve remaining HTML5 issues in javax.lang.model.* Reviewed-by: martin
author darcy
date Mon, 23 Jan 2017 10:37:27 -0800
parents 8cbff90a50bc
children c5b25c4e9b30 17a11ffc6a0a
files src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java src/java.compiler/share/classes/javax/lang/model/util/Elements.java
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java	Mon Jan 23 10:28:52 2017 +0530
+++ b/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java	Mon Jan 23 10:37:27 2017 -0800
@@ -35,8 +35,7 @@
  * type is a kind of class and an annotation type is a kind of
  * interface.
  *
- * <p> <a name="ELEM_VS_TYPE"></a>
- * While a {@code TypeElement} represents a class or interface
+ * <p> While a {@code TypeElement} represents a class or interface
  * <i>element</i>, a {@link DeclaredType} represents a class
  * or interface <i>type</i>, the latter being a use
  * (or <i>invocation</i>) of the former.
--- a/src/java.compiler/share/classes/javax/lang/model/util/Elements.java	Mon Jan 23 10:28:52 2017 +0530
+++ b/src/java.compiler/share/classes/javax/lang/model/util/Elements.java	Mon Jan 23 10:37:27 2017 -0800
@@ -91,7 +91,9 @@
      * If the named module cannot be found, null is returned. One situation where a module
      * cannot be found is if the environment does not include modules, such as
      * an annotation processing environment configured for
-     * a {@linkplain ProcessingEnvironment#getSourceVersion source version} without modules.      *
+     * a {@linkplain
+     * javax.annotation.processing.ProcessingEnvironment#getSourceVersion
+     * source version} without modules.
      *
      * @param name  the name
      * @return the named module element, or {@code null} if it cannot be found
@@ -331,7 +333,9 @@
      * If there is no module for the element, null is returned. One situation where there is
      * no module for an element is if the environment does not include modules, such as
      * an annotation processing environment configured for
-     * a {@linkplain ProcessingEnvironment#getSourceVersion source version} without modules.      *
+     * a {@linkplain
+     * javax.annotation.processing.ProcessingEnvironment#getSourceVersion
+     * source version} without modules.
      *
      * @param type the element being examined
      * @return the module of an element