diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java index e08c411bba..1109ed3b8c 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java @@ -534,7 +534,7 @@ public class BeanDefinitionParserDelegate { /** * Parse the bean definition itself, without regard to name or aliases. May return - * null if problems occured during the parse of the bean definition. + * null if problems occurred during the parsing of the bean definition. */ public AbstractBeanDefinition parseBeanDefinitionElement( Element ele, String beanName, BeanDefinition containingBean) { diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurer.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurer.java index cb80e95c2f..1506df31cc 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurer.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurer.java @@ -30,7 +30,7 @@ import org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler /** * Configures a request handler for serving static resources by forwarding the request to the Servlet container's - * "default" Servlet. This is indended to be used when the Spring MVC {@link DispatcherServlet} is mapped to "/" + * "default" Servlet. This is intended to be used when the Spring MVC {@link DispatcherServlet} is mapped to "/" * thus overriding the Servlet container's default handling of static resources. Since this handler is configured * at the lowest precedence, effectively it allows all other handler mappings to handle the request, and if none * of them do, this handler can forward it to the "default" Servlet.