Issue #3361 - HandlerCollection.addHandler is lacking synchronization.
Removed unused code. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
97d501d444
commit
e4e72968cd
|
@ -424,21 +424,10 @@ public class ContextHandlerCollection extends HandlerCollection
|
|||
private final Map<ContextHandler,Handler> _contextBranches = new HashMap<>();
|
||||
private final Trie<Map.Entry<String,Branch[]>> _pathBranches;
|
||||
|
||||
Mapping(Handler[] handlers, int capacity)
|
||||
private Mapping(Handler[] handlers, int capacity)
|
||||
{
|
||||
super(handlers);
|
||||
_pathBranches = new ArrayTernaryTrie<>(false, capacity);
|
||||
}
|
||||
|
||||
public Map<ContextHandler, Handler> getContextBranches()
|
||||
{
|
||||
return _contextBranches;
|
||||
}
|
||||
|
||||
public Trie<Map.Entry<String, Branch[]>> getPathBranches()
|
||||
{
|
||||
return _pathBranches;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue