diff --git a/spring-web/src/main/java/org/springframework/web/util/ServletRequestPathUtils.java b/spring-web/src/main/java/org/springframework/web/util/ServletRequestPathUtils.java index 41398f2ece27486e1ebaed855bac80491bed6104..b757f3e59f8152e28ac90b955f6426cb5487c89f 100644 --- a/spring-web/src/main/java/org/springframework/web/util/ServletRequestPathUtils.java +++ b/spring-web/src/main/java/org/springframework/web/util/ServletRequestPathUtils.java @@ -184,7 +184,7 @@ public abstract class ServletRequestPathUtils { * supports a servletPath as an additional prefix to be omitted from * {@link #pathWithinApplication()}. */ - private static class ServletRequestPath implements RequestPath { + private static final class ServletRequestPath implements RequestPath { private final RequestPath requestPath; diff --git a/spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java b/spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java index 50d23d5e3cb3960c6668847fdc8094c259e10863..7b46d1b874a263e31cdf6cafdf56b81832c3da4f 100644 --- a/spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java +++ b/spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java @@ -77,4 +77,4 @@ public class MockHttpServletMapping implements HttpServletMapping { "mappingMatch=" + mappingMatch + "]"; } -} \ No newline at end of file +}