From 7caafc69f18aae36306c7b01e782e57d28519d41 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Mon, 23 Jan 2017 10:37:27 -0800 Subject: [PATCH] 8173164: Resolve remaining HTML5 issues in javax.lang.model.* Reviewed-by: martin --- .../classes/javax/lang/model/element/TypeElement.java | 3 +-- .../share/classes/javax/lang/model/util/Elements.java | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java b/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java index 02e8648a99c..8f6d153b71a 100644 --- a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java @@ -35,8 +35,7 @@ import javax.lang.model.util.*; * type is a kind of class and an annotation type is a kind of * interface. * - *

- * While a {@code TypeElement} represents a class or interface + *

While a {@code TypeElement} represents a class or interface * element, a {@link DeclaredType} represents a class * or interface type, the latter being a use * (or invocation) of the former. diff --git a/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java b/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java index 201c09f2b15..bfa17a38bd5 100644 --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java @@ -91,7 +91,9 @@ public interface Elements { * 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 @@ public interface Elements { * 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