You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/09/09 12:32:00 UTC

svn commit: r1521030 - /tomcat/trunk/java/javax/annotation/security/DenyAll.java

Author: markt
Date: Mon Sep  9 10:32:00 2013
New Revision: 1521030

URL: http://svn.apache.org/r1521030
Log:
Common Annotations spec section 2.11 makes clear DenyAll is permitted at the class level.
The Javadoc for JavaEE 5 does not include this but the Javadoc for JavaEE 6 does - again with no indication of a change.

Modified:
    tomcat/trunk/java/javax/annotation/security/DenyAll.java

Modified: tomcat/trunk/java/javax/annotation/security/DenyAll.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/annotation/security/DenyAll.java?rev=1521030&r1=1521029&r2=1521030&view=diff
==============================================================================
--- tomcat/trunk/java/javax/annotation/security/DenyAll.java (original)
+++ tomcat/trunk/java/javax/annotation/security/DenyAll.java Mon Sep  9 10:32:00 2013
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
 /**
  * @since Common Annotations 1.0
  */
-@Target({ElementType.METHOD})
+@Target({ElementType.METHOD, ElementType.TYPE})
 @Retention(RetentionPolicy.RUNTIME)
 public @interface DenyAll {
     // No attributes



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org