You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by em...@apache.org on 2017/09/28 00:47:30 UTC

svn commit: r1809931 - in /myfaces/core/branches/2.3.x/api/src/main/java/javax/faces: component/behavior/FacesBehavior.java validator/FacesValidator.java

Author: embreijo
Date: Thu Sep 28 00:47:29 2017
New Revision: 1809931

URL: http://svn.apache.org/viewvc?rev=1809931&view=rev
Log:
MYFACES-4159 Update FacesValidator and FacesBehavior annotations target

Modified:
    myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/behavior/FacesBehavior.java
    myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/validator/FacesValidator.java

Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/behavior/FacesBehavior.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/behavior/FacesBehavior.java?rev=1809931&r1=1809930&r2=1809931&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/behavior/FacesBehavior.java (original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/behavior/FacesBehavior.java Thu Sep 28 00:47:29 2017
@@ -29,7 +29,7 @@ import javax.inject.Qualifier;
  * @since 2.0
  */
 @Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
+@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
 @Inherited
 @Qualifier
 public @interface FacesBehavior

Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/validator/FacesValidator.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/validator/FacesValidator.java?rev=1809931&r1=1809930&r2=1809931&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/validator/FacesValidator.java (original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/validator/FacesValidator.java Thu Sep 28 00:47:29 2017
@@ -29,7 +29,7 @@ import javax.inject.Qualifier;
  * @since 2.0
  */
 @Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
+@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
 @Inherited
 @Qualifier
 public @interface FacesValidator