openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r753455 - /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java
Date Fri, 13 Mar 2009 22:28:06 GMT
Author: gerdogdu
Date: Fri Mar 13 22:28:06 2009
New Revision: 753455

URL: http://svn.apache.org/viewvc?rev=753455&view=rev
Log:
Update ElementType.

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java?rev=753455&r1=753454&r2=753455&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java Fri
Mar 13 22:28:06 2009
@@ -13,6 +13,7 @@
  */
 package javax.inject;
 
+import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
@@ -20,7 +21,8 @@
 
 @BindingType
 @Retention(RetentionPolicy.RUNTIME)
-@Target( { ElementType.FIELD, ElementType.PARAMETER })
+@Target( { ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER
})
+@Documented
 public @interface Obtains
 {
 



Mime
View raw message