mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 00:09:01 +00:00
Fix wrong variable name
See gh-47478 Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
committed by
Stéphane Nicoll
parent
661574b226
commit
aa09c8583d
+2
-2
@@ -56,7 +56,7 @@ import org.springframework.util.Assert;
|
||||
* @Before
|
||||
* public void setup() {
|
||||
* JsonMapper jsonMapper = new JsonMapper();
|
||||
* JacksonTester.initFields(this, objectMapper);
|
||||
* JacksonTester.initFields(this, jsonMapper);
|
||||
* }
|
||||
*
|
||||
* @Test
|
||||
@@ -88,7 +88,7 @@ public class JacksonTester<T> extends AbstractJsonMarshalTester<T> {
|
||||
* @since 4.0.0
|
||||
*/
|
||||
protected JacksonTester(JsonMapper jsonMapper) {
|
||||
Assert.notNull(jsonMapper, "'objectMapper' must not be null");
|
||||
Assert.notNull(jsonMapper, "'jsonMapper' must not be null");
|
||||
this.jsonMapper = jsonMapper;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user