diff --git a/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java b/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java index fa0440baa1..d13e7baf90 100644 --- a/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java +++ b/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java @@ -102,7 +102,7 @@ public class MockHttpServletRequest implements HttpServletRequest { new BufferedReader(new StringReader("")); /** - * Date formats as specified in the HTTP RFC + * Date formats as specified in the HTTP RFC. * @see Section 7.1.1.1 of RFC 7231 */ private static final String[] DATE_FORMATS = new String[] { @@ -569,7 +569,7 @@ public class MockHttpServletRequest implements HttpServletRequest { } /** - * Adds all provided parameters without replacing any + * Add all provided parameters without replacing any * existing values. To replace existing values, use * {@link #setParameters(java.util.Map)}. */ @@ -598,7 +598,7 @@ public class MockHttpServletRequest implements HttpServletRequest { } /** - * Removes all existing parameters. + * Remove all existing parameters. */ public void removeAllParameters() { this.parameters.clear(); @@ -764,8 +764,8 @@ public class MockHttpServletRequest implements HttpServletRequest { /** * Set the list of preferred locales, in descending order, effectively replacing * any existing locales. - * @see #addPreferredLocale * @since 3.2 + * @see #addPreferredLocale */ public void setPreferredLocales(List locales) { Assert.notEmpty(locales, "Locale list must not be empty"); @@ -966,9 +966,9 @@ public class MockHttpServletRequest implements HttpServletRequest { } /** - * Add a header entry for the given name. - *

While this method can take any {@code Object} as a parameter, it - * is recommended to use the following types: + * Add an HTTP header entry for the given name. + *

While this method can take any {@code Object} as a parameter, + * it is recommended to use the following types: *