mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 20:39:18 +00:00
390560 The method AnnotationParser.getAnnotationHandlers(String) always returns a empty collection.
This commit is contained in:
parent
eacd75bbfd
commit
0ab5773963
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user