Polishing

This commit is contained in:
Juergen Hoeller 2016-12-01 19:09:26 +01:00
parent 1ded1e38e8
commit 0028b29760
2 changed files with 5 additions and 4 deletions

View File

@ -88,7 +88,7 @@ public class ExpressionException extends RuntimeException {
* @param cause the underlying cause of this exception * @param cause the underlying cause of this exception
*/ */
public ExpressionException(int position, String message, Throwable cause) { public ExpressionException(int position, String message, Throwable cause) {
super(message,cause); super(message, cause);
this.position = position; this.position = position;
} }

View File

@ -66,9 +66,9 @@ import org.springframework.web.util.UriUtils;
* *
* <p>Application tests will typically access this builder through the static factory * <p>Application tests will typically access this builder through the static factory
* methods in {@link MockMvcRequestBuilders}. * methods in {@link MockMvcRequestBuilders}.
* <p>Although this class cannot be extended, additional ways to initialize *
* the {@code MockHttpServletRequest} can be plugged in via * <p>Although this class cannot be extended, additional ways to initialize the
* {@link #with(RequestPostProcessor)}. * {@code MockHttpServletRequest} can be plugged in via {@link #with(RequestPostProcessor)}.
* *
* @author Rossen Stoyanchev * @author Rossen Stoyanchev
* @author Arjen Poutsma * @author Arjen Poutsma
@ -159,6 +159,7 @@ public class MockHttpServletRequestBuilder
this.url = url; this.url = url;
} }
/** /**
* Add a request parameter to the {@link MockHttpServletRequest}. * Add a request parameter to the {@link MockHttpServletRequest}.
* <p>If called more than once, new values get added to existing ones. * <p>If called more than once, new values get added to existing ones.