8173164: Resolve remaining HTML5 issues in javax.lang.model.*
authordarcy
Mon, 23 Jan 2017 10:37:27 -0800
changeset 43280 692b0dfbb390
parent 43279 9afb33b0a3ab
child 43281 f18ab4800cc7
8173164: Resolve remaining HTML5 issues in javax.lang.model.* Reviewed-by: martin
langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java
langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java
--- a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java	Mon Jan 23 10:28:52 2017 +0530
+++ b/langtools/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/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java	Mon Jan 23 10:28:52 2017 +0530
+++ b/langtools/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