openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r754525 - in /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax: event/Fires.java inject/New.java
Date Sat, 14 Mar 2009 21:25:41 GMT
Author: gerdogdu
Date: Sat Mar 14 21:25:40 2009
New Revision: 754525

URL: http://svn.apache.org/viewvc?rev=754525&view=rev
Log:
Updating for TCK tests.

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/event/Fires.java
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/New.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/event/Fires.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/event/Fires.java?rev=754525&r1=754524&r2=754525&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/event/Fires.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/event/Fires.java Sat Mar
14 21:25:40 2009
@@ -18,6 +18,7 @@
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 
 import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
 import java.lang.annotation.Target;
 
@@ -25,7 +26,7 @@
 
 @BindingType
 @Retention(RUNTIME)
-@Target( { FIELD, PARAMETER })
+@Target( { ElementType.METHOD, ElementType.TYPE, FIELD, PARAMETER })
 @Documented
 public @interface Fires
 {

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/New.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/New.java?rev=754525&r1=754524&r2=754525&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/New.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/New.java Sat Mar
14 21:25:40 2009
@@ -23,7 +23,7 @@
 import java.lang.annotation.Retention;
 import java.lang.annotation.Target;
 
-@Target( { METHOD, FIELD, PARAMETER, TYPE })
+@Target( { METHOD, FIELD, PARAMETER })
 @Retention(RUNTIME)
 @Documented
 @BindingType



Mime
View raw message