Skip to content

Commit

Permalink
ws
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@432 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 7, 2008
1 parent 57507ff commit b53f749
Showing 1 changed file with 9 additions and 4 deletions.
Expand Up @@ -102,15 +102,20 @@ public boolean isObserverInterested(Annotation... bindings)
{
//List<Annotation> bindingsArray = Arrays.asList(bindings);
//return bindingsArray.containsAll(this.eventBindings);
for (Annotation x: eventBindings) {
for (Annotation x: eventBindings)
{
boolean found = false;
for (Annotation y: bindings)
{
if ( MetaDataCache.instance().getBindingTypeModel(x.annotationType()).isEqual(x, y) ) {
found = true;
if ( MetaDataCache.instance().getBindingTypeModel(x.annotationType()).isEqual(x, y) )
{
found = true;
}
}
if (!found)
{
return false;
}
if (!found) return false;
}
return true;
}
Expand Down

0 comments on commit b53f749

Please sign in to comment.