[weld-commits] Weld SVN: r4341 - api/trunk/cdi/src/main/java/javax/enterprise/inject/spi.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Oct 26 16:03:05 EDT 2009


Author: dallen6
Date: 2009-10-26 16:03:04 -0400 (Mon, 26 Oct 2009)
New Revision: 4341

Modified:
   api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java
   api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InjectionTarget.java
   api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
Log:
A few fixes to JavaDocs

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java	2009-10-26 19:27:32 UTC (rev 4340)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java	2009-10-26 20:03:04 UTC (rev 4341)
@@ -51,7 +51,7 @@
    public Set<Type> getTypeClosure();
 
    /**
-    * Get the annotation instance on the annoated element for a given annotation
+    * Get the annotation instance on the annotated element for a given annotation
     * type.
     * 
     * @param <T> the type of the annotation

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InjectionTarget.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InjectionTarget.java	2009-10-26 19:27:32 UTC (rev 4340)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InjectionTarget.java	2009-10-26 20:03:04 UTC (rev 4341)
@@ -47,22 +47,23 @@
 
    /**
     * <p>
-    * Calls the {@link javax.annotation.PostConstruct} callback, if it exists,
+    * Calls the {@code PostConstruct} callback, if it exists,
     * according to the semantics required by the Java EE platform specification.
     * </p>
-    * 
-    * @param instance
+    * @see javax.annotation.PostConstruct
+    * @param instance The instance on which to invoke the
+    *           {@code PostConstruct} method
     */
    public void postConstruct(T instance);
 
    /**
     * <p>
-    * Calls the {@link javax.annotation.PreDestroy} callback, if it exists,
+    * Calls the {@code PreDestroy} callback, if it exists,
     * according to the semantics required by the Java EE platform specification.
     * </p>
-    * 
+    * @see javax.annotation.PreDestroy
     * @param instance The instance on which to invoke the
-    *           {@link javax.annotation.PreDestroy} method
+    *           {@code PreDestroy} method
     */
    public void preDestroy(T instance);
 

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java	2009-10-26 19:27:32 UTC (rev 4340)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java	2009-10-26 20:03:04 UTC (rev 4341)
@@ -65,6 +65,7 @@
     * contextual instance of the bean that declares the disposer method or
     * performs any additional required cleanup, if any, to destroy state
     * associated with a resource.
+    * </p>
     * 
     * @param instance The instance to dispose
     */



More information about the weld-commits mailing list