fix in metadata reader

This commit is contained in:
benni 2012-12-16 17:26:41 +01:00
parent c8b60ef854
commit a4f15c4564

View File

@ -85,7 +85,7 @@ public class MetadataReader {
private static boolean isHandler(Method m){
Annotation[] annotations = m.getDeclaredAnnotations();
for(Annotation annotation : annotations){
if(annotation.equals(Listener.class))return true;
if(annotation.annotationType().equals(Listener.class))return true;
}
return false;
}