mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 16:29:28 +00:00
Polish
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
|
||||
public void handleRequest(HttpServletRequest request, HttpServletResponse response)
|
||||
throws ServletException, IOException {
|
||||
|
||||
// First, check whether a matching resource exists
|
||||
// For very general mappings (e.g. "/") we need to check 404 first
|
||||
Resource resource = getResource(request);
|
||||
if (resource == null) {
|
||||
logger.trace("No matching resource found - returning 404");
|
||||
|
||||
Reference in New Issue
Block a user