Author: scabanovich
Date: 2012-05-15 19:20:05 -0400 (Tue, 15 May 2012)
New Revision: 41034
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
Log:
JBIDE-11867
https://issues.jboss.org/browse/JBIDE-11867
Observer method resolution is fixed.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2012-05-15
23:18:53 UTC (rev 41033)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2012-05-15
23:20:05 UTC (rev 41034)
@@ -569,7 +569,7 @@
}
public static boolean areMatchingEventQualifiers(Set<IQualifierDeclaration>
eventQualifiers, Set<IQualifierDeclaration> paramQualifiers) throws CoreException {
- if(!eventQualifiers.isEmpty() || paramQualifiers.isEmpty()) {
+ if(!paramQualifiers.isEmpty()) {
TreeSet<String> paramKeys = new TreeSet<String>();
for (IQualifierDeclaration d: paramQualifiers) {