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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Dec 16 14:06:09 EST 2010


Author: pete.muir at jboss.org
Date: 2010-12-16 14:06:09 -0500 (Thu, 16 Dec 2010)
New Revision: 7152

Modified:
   cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java
Log:
revert parameter semantic ordering back to 1.0, this goes against the spec but spec takes lower precedence according to EE CTS team @ Oracle

Modified: cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java
===================================================================
--- cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java	2010-12-16 17:47:25 UTC (rev 7151)
+++ cdi-api/trunk/src/main/java/javax/enterprise/inject/spi/ProcessObserverMethod.java	2010-12-16 19:06:09 UTC (rev 7152)
@@ -32,9 +32,12 @@
  * @see ObserverMethod
  * @author Gavin King
  * @author David Allen
- * @param <X> The type of the event being observed
- * @param <T> The bean type containing the observer method
+ * @param <T> The type of the event being observed
+ * @param <X> The bean type containing the observer method
+ * 
  */
+//These parameters are the wrong way according to the spec, however Oracle/JCP compatibility rules require us to 
+//keep the wrong ordering
 public interface ProcessObserverMethod<T, X>
 {
    /**



More information about the weld-commits mailing list