From 0ab5773963f51e785e7beb1631e1c8e8ac05e8a2 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 28 Sep 2012 00:26:22 +1000 Subject: [PATCH] 390560 The method AnnotationParser.getAnnotationHandlers(String) always returns a empty collection. --- .../java/org/eclipse/jetty/annotations/AnnotationParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java index c3b65ac156c..781cac429f4 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java @@ -426,7 +426,7 @@ public class AnnotationParser List handlers = _annotationHandlers.get(annotationName); if (handlers == null) return Collections.emptyList(); - return new ArrayList(); + return new ArrayList(handlers); } public List getAnnotationHandlers()