Skip to content

Commit

Permalink
Issue #7891 - Fixing comparison in Invoker
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed May 3, 2022
1 parent 2edc71e commit 0cb102c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -173,7 +173,7 @@ protected void service(HttpServletRequest request, HttpServletResponse response)
String path = URIUtil.addPaths(servletPath, servlet);
MatchedResource<ServletHolder> entry = _servletHandler.getMatchedServlet(path);

if (entry != null && !entry.equals(_invokerEntry))
if (entry != null && !entry.getMappedResource().equals(_invokerEntry.getMappedResource()))
{
// Use the holder
holder = entry.getResource();
Expand Down

0 comments on commit 0cb102c

Please sign in to comment.