Browse Source

Polishing

pull/1257/head
Juergen Hoeller 9 years ago
parent
commit
0028b29760
  1. 2
      spring-expression/src/main/java/org/springframework/expression/ExpressionException.java
  2. 7
      spring-test/src/main/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.java

2
spring-expression/src/main/java/org/springframework/expression/ExpressionException.java

@ -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;
} }

7
spring-test/src/main/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.java

@ -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.

Loading…
Cancel
Save