diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java index 33dbf0deff..9bbf9af4f3 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java @@ -102,7 +102,7 @@ public class ParameterizableViewController extends AbstractController { * Configure the HTTP status code that this controller should set on the * response. *
When a "redirect:" prefixed view name is configured, there is no need - * to set this property since RedirectView will do that. However this property + * to set this property since RedirectView will do that. However, this property * may still be used to override the 3xx status code of {@code RedirectView}. * For full control over redirecting provide a {@code RedirectView} instance. *
If the status code is 204 and no view is configured, the request is diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/EncodedResourceResolver.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/EncodedResourceResolver.java index fcb3292bb6..73a3774515 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/EncodedResourceResolver.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/EncodedResourceResolver.java @@ -79,7 +79,7 @@ public class EncodedResourceResolver extends AbstractResourceResolver { * given request, and that has a file present with the associated extension, * is used. *
Note: Each coding must be associated with a file - * extension via {@link #registerExtension} or {@link #setExtensions}. Also + * extension via {@link #registerExtension} or {@link #setExtensions}. Also, * customizations to the list of codings here should be matched by * customizations to the same list in {@link CachingResourceResolver} to * ensure encoded variants of a resource are cached under separate keys. diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java index 23726ae4db..8d0a10218a 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java @@ -164,7 +164,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator * {@code /META-INF/public-web-resources/} directory, with resources in the * web application root taking precedence. *
For {@link org.springframework.core.io.UrlResource URL-based resources}
- * (e.g. files, HTTP URLs, etc) this method supports a special prefix to
+ * (e.g. files, HTTP URLs, etc.) this method supports a special prefix to
* indicate the charset associated with the URL so that relative paths
* appended to it can be encoded correctly, for example
* {@code "[charset=Windows-31J]https://example.org/path"}.
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java
index 62b7fd43a6..0b8994b253 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java
@@ -107,7 +107,7 @@ public class ResourceUrlProvider implements ApplicationListener The specified MessageSource loads messages from "messages.properties" etc
+ * The specified MessageSource loads messages from "messages.properties" etc.
* files in the class path. This will automatically be exposed to views as
- * JSTL localization context, which the JSTL fmt tags (message etc) will use.
+ * JSTL localization context, which the JSTL fmt tags (message etc.) will use.
* Consider using Spring's ReloadableResourceBundleMessageSource instead of
* the standard ResourceBundleMessageSource for more sophistication.
* Of course, any other Spring components can share the same MessageSource.
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java
index 6cbbb19c41..2db8c7d38a 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java
@@ -554,7 +554,7 @@ public class RedirectView extends AbstractUrlBasedView implements SmartView {
/**
* Determine whether the given model element value is eligible for exposure.
* The default implementation considers primitives, strings, numbers, dates,
- * URIs, URLs etc as eligible, according to {@link BeanUtils#isSimpleValueType}.
+ * URIs, URLs etc. as eligible, according to {@link BeanUtils#isSimpleValueType}.
* This can be overridden in subclasses.
* @param value the model element value
* @return whether the element value is eligible