diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandlerCollection.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandlerCollection.java index fd3fbae21af..d082ca7a89e 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandlerCollection.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandlerCollection.java @@ -424,21 +424,10 @@ public class ContextHandlerCollection extends HandlerCollection private final Map _contextBranches = new HashMap<>(); private final Trie> _pathBranches; - Mapping(Handler[] handlers, int capacity) + private Mapping(Handler[] handlers, int capacity) { super(handlers); _pathBranches = new ArrayTernaryTrie<>(false, capacity); } - - public Map getContextBranches() - { - return _contextBranches; - } - - public Trie> getPathBranches() - { - return _pathBranches; - } - } }