Merge pull request #231 from carsonmcdonald/3.2.x

# By Carson McDonald
# Via Carson McDonald
* carson:
  Fix a few typos
master
Phillip Webb 12 years ago
commit de692521df
  1. 4
      spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java
  2. 18
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/multiaction/ParameterMethodNameResolver.java
  3. 4
      spring-webmvc/src/main/java/org/springframework/web/servlet/view/ResourceBundleViewResolver.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2013 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -165,7 +165,7 @@ public class PropertiesBeanDefinitionReader extends AbstractBeanDefinitionReader
* class can still override this. * class can still override this.
* <p>Strictly speaking, the rule that a default parent setting does * <p>Strictly speaking, the rule that a default parent setting does
* not apply to a bean definition that carries a class is there for * not apply to a bean definition that carries a class is there for
* backwards compatiblity reasons. It still matches the typical use case. * backwards compatibility reasons. It still matches the typical use case.
*/ */
public void setDefaultParentBean(String defaultParentBean) { public void setDefaultParentBean(String defaultParentBean) {
this.defaultParentBean = defaultParentBean; this.defaultParentBean = defaultParentBean;

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2013 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -50,14 +50,14 @@ import org.springframework.web.util.WebUtils;
* *
* <p>Note that the second strategy also supports the use of submit buttons of * <p>Note that the second strategy also supports the use of submit buttons of
* type 'image'. That is, an image submit button named 'reset' will normally be * type 'image'. That is, an image submit button named 'reset' will normally be
* submitted by the browser as two request paramters called 'reset.x', and * submitted by the browser as two request parameters called 'reset.x', and
* 'reset.y'. When checking for the existence of a paramter from the * 'reset.y'. When checking for the existence of a parameter from the
* {@code methodParamNames} list, to indicate that a specific method should * {@code methodParamNames} list, to indicate that a specific method should
* be called, the code will look for request parameter in the "reset" form * be called, the code will look for a request parameter in the "reset" form
* (exactly as spcified in the list), and in the "reset.x" form ('.x' appended to * (exactly as specified in the list), and in the "reset.x" form ('.x' appended
* the name in the list). In this way it can handle both normal and image submit * to the name in the list). In this way it can handle both normal and image
* buttons. The actual method name resolved if there is a match will always be * submit buttons. The actual method name resolved, if there is a match, will
* the bare form without the ".x". * always be the bare form without the ".x".
* *
* <p><b>Note:</b> If both strategies are configured, i.e. both "paramName" * <p><b>Note:</b> If both strategies are configured, i.e. both "paramName"
* and "methodParamNames" are specified, then both will be checked for any given * and "methodParamNames" are specified, then both will be checked for any given
@ -69,7 +69,7 @@ import org.springframework.web.util.WebUtils;
* *
* <p>For both resolution strategies, the method name is of course coming from * <p>For both resolution strategies, the method name is of course coming from
* some sort of view code, (such as a JSP page). While this may be acceptable, * some sort of view code, (such as a JSP page). While this may be acceptable,
* it is sometimes desireable to treat this only as a 'logical' method name, * it is sometimes desirable to treat this only as a 'logical' method name,
* with a further mapping to a 'real' method name. As such, an optional * with a further mapping to a 'real' method name. As such, an optional
* 'logical' mapping may be specified for this purpose. * 'logical' mapping may be specified for this purpose.
* *

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2013 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -160,7 +160,7 @@ public class ResourceBundleViewResolver extends AbstractCachingViewResolver
* <p>View definitions that define their own parent or carry their own * <p>View definitions that define their own parent or carry their own
* class can still override this. Strictly speaking, the rule that a * class can still override this. Strictly speaking, the rule that a
* default parent setting does not apply to a bean definition that * default parent setting does not apply to a bean definition that
* carries a class is there for backwards compatiblity reasons. * carries a class is there for backwards compatibility reasons.
* It still matches the typical use case. * It still matches the typical use case.
*/ */
public void setDefaultParentView(String defaultParentView) { public void setDefaultParentView(String defaultParentView) {

Loading…
Cancel
Save