Skip to content

Commit

Permalink
minor misses, volume I
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@389 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
nickarls committed Dec 2, 2008
1 parent 2a495ac commit a2a1a42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -25,6 +25,7 @@
import javax.webbeans.Destructor;
import javax.webbeans.Disposes;
import javax.webbeans.Initializer;
import javax.webbeans.Observable;
import javax.webbeans.Observes;
import javax.webbeans.Produces;

Expand Down Expand Up @@ -116,7 +117,7 @@ public Set<AnnotatedMethod<Object>> getProducerMethods()
*/
public Set<AnnotatedField<Object>> getEventFields()
{
return getAnnotatedItem().getAnnotatedFields(Observes.class);
return getAnnotatedItem().getAnnotatedFields(Observable.class);
}

/**
Expand Down
Expand Up @@ -407,7 +407,7 @@ private void initAnnotatedAndMetaAnnotatedFields()
{
for (Annotation annotation : field.getAnnotations())
{
annotatedFields.get(annotation.annotationType()).add(field);
annotatedFields.put(annotation.annotationType(), field);
for (Annotation metaAnnotation : annotation.annotationType().getAnnotations())
{
metaAnnotatedFields.put(metaAnnotation.annotationType(), field);
Expand Down

0 comments on commit a2a1a42

Please sign in to comment.