8033812: javadoc for java.lang.annotation.ElementType needs minor correction

Fix incorrect count of type contexts.

Reviewed-by: mcimadamore
This commit is contained in:
Srikanth Adayapalam 2016-05-28 09:47:28 +05:30
parent 9862c36936
commit 3d91ba0bc6

View File

@ -46,7 +46,7 @@ package java.lang.annotation;
* {@code @Target(ElementType.FIELD)} may only be written as a modifier for a * {@code @Target(ElementType.FIELD)} may only be written as a modifier for a
* field declaration. * 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 * 4.11, as well as to two declaration contexts: type declarations (including
* annotation type declarations) and type parameter declarations. * annotation type declarations) and type parameter declarations.
* *