390560 The method AnnotationParser.getAnnotationHandlers(String) always returns a empty collection.

This commit is contained in:
Jan Bartel 2012-09-28 00:26:22 +10:00
parent eacd75bbfd
commit 0ab5773963
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ public class AnnotationParser
List<DiscoverableAnnotationHandler> handlers = _annotationHandlers.get(annotationName);
if (handlers == null)
return Collections.emptyList();
return new ArrayList<DiscoverableAnnotationHandler>();
return new ArrayList<DiscoverableAnnotationHandler>(handlers);
}
public List<DiscoverableAnnotationHandler> getAnnotationHandlers()