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 ae223a81d7..cd5eef8f50 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;