Polishing
This commit is contained in:
parent
ea97fefa98
commit
89ebdc766c
|
|
@ -79,7 +79,7 @@ public class JsonPathExpectationsHelper {
|
|||
* matching numbers reliably for example coercing an integer into a double.
|
||||
* @param content the JSON content
|
||||
* @param matcher the matcher with which to assert the result
|
||||
* @param targetType a the expected type of the resulting value
|
||||
* @param targetType the expected type of the resulting value
|
||||
* @since 4.3.3
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -65,7 +65,7 @@ public interface ResultMatcher {
|
|||
static ResultMatcher matchAll(ResultMatcher... matchers) {
|
||||
return result -> {
|
||||
for (ResultMatcher matcher : matchers) {
|
||||
matcher.match(result);
|
||||
matcher.match(result);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -34,7 +34,6 @@ import org.springframework.util.StringUtils;
|
|||
* <a href="https://github.com/jayway/JsonPath">JsonPath</a> expressions.
|
||||
*
|
||||
* <p>An instance of this class is typically accessed via
|
||||
* {@link MockMvcResultMatchers#jsonPath(String, Matcher)} or
|
||||
* {@link MockMvcResultMatchers#jsonPath(String, Object...)}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
|
|
|
|||
Loading…
Reference in New Issue