diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMappingIntrospector.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMappingIntrospector.java index 5e3bc4a561..64914badf7 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMappingIntrospector.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMappingIntrospector.java @@ -332,7 +332,8 @@ public class HandlerMappingIntrospector * for a given request identified by dispatcher type and requestURI. * @since 6.0.14 */ - public final static class CachedResult { + @SuppressWarnings("serial") + public static final class CachedResult { private final DispatcherType dispatcherType;