From e80a23d6ad93eaab11a1869ef1407e729138e672 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 26 Jan 2021 17:51:52 +0000 Subject: [PATCH] Fix CheckStyle violations --- .../org/springframework/web/util/ServletRequestPathUtils.java | 2 +- .../web/testfixture/servlet/MockHttpServletMapping.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 41398f2ece..b757f3e59f 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 50d23d5e3c..7b46d1b874 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 +} -- GitLab