diff --git a/org.springframework.context/src/main/java/org/springframework/context/config/FeatureSpecification.java b/org.springframework.context/src/main/java/org/springframework/context/config/FeatureSpecification.java index 7a0936c639..671414f9a5 100644 --- a/org.springframework.context/src/main/java/org/springframework/context/config/FeatureSpecification.java +++ b/org.springframework.context/src/main/java/org/springframework/context/config/FeatureSpecification.java @@ -112,7 +112,7 @@ public interface FeatureSpecification { * have been set, including checks on mutually exclusive or mutually * dependent properties. May in some cases modify the state of the * specification e.g., instantiating types specified as strings. - * @see AbstractSpecificationExecutor#execute(Specification) + * @see AbstractSpecificationExecutor#execute(FeatureSpecification, SpecificationContext) * @return whether any problems occurred during validation */ boolean validate(ProblemReporter problemReporter); diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/MvcDefaultServletHandler.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/MvcDefaultServletHandler.java index b14cfcfe46..fcccac2f04 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/MvcDefaultServletHandler.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/MvcDefaultServletHandler.java @@ -44,7 +44,7 @@ import org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler * @author Rossen Stoyanchev * @since 3.1 */ -public class MvcDefaultServletHandler extends AbstractFeatureSpecification { +public final class MvcDefaultServletHandler extends AbstractFeatureSpecification { private static final Class EXECUTOR_TYPE = MvcDefaultServletHandlerExecutor.class;