changeset 38587:512822cb2cfe

8033812: javadoc for java.lang.annotation.ElementType needs minor correction Summary: Fix incorrect count of type contexts. Reviewed-by: mcimadamore
author sadayapalam
date Sat, 28 May 2016 09:47:28 +0530
parents a4c2c26a296a
children 1186d7bd7de9
files jdk/src/java.base/share/classes/java/lang/annotation/ElementType.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/lang/annotation/ElementType.java	Fri May 27 14:26:58 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/annotation/ElementType.java	Sat May 28 09:47:28 2016 +0530
@@ -46,7 +46,7 @@
  * {@code @Target(ElementType.FIELD)} may only be written as a modifier for a
  * field declaration.
  *
- * <p>The constant {@link #TYPE_USE} corresponds to the 15 type contexts in JLS
+ * <p>The constant {@link #TYPE_USE} corresponds to the type contexts in JLS
  * 4.11, as well as to two declaration contexts: type declarations (including
  * annotation type declarations) and type parameter declarations.
  *