openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1647604 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
Date Tue, 23 Dec 2014 16:07:23 GMT
Author: rmannibucau
Date: Tue Dec 23 16:07:23 2014
New Revision: 1647604

URL: http://svn.apache.org/r1647604
Log:
raw type for ProcessInjectionPoint event

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java?rev=1647604&r1=1647603&r2=1647604&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
Tue Dec 23 16:07:23 2014
@@ -463,7 +463,9 @@ public final class NotificationManager
         {
             if(checkEventTypeParameterForExtensions(beanClass, actualArgs[0])
                     && (secondParam == null || actualArgs.length == 1
-                            || checkEventTypeParameterForExtensions(secondParam, actualArgs[1])))
+                            || checkEventTypeParameterForExtensions(secondParam, actualArgs[1])
+                            || (ParameterizedType.class.isInstance(secondParam) &&
Class.class.isInstance(actualArgs[1])
+                                && ParameterizedType.class.cast(secondParam).getRawType()
== actualArgs[1])))
             {
                 addToMatching(type, matching);   
             }



Mime
View raw message