Skip to content

Commit 716668c

Browse files
committed
Fix wrong variable name
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
1 parent 1706a7c commit 716668c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/spring-boot-test/src/main/java/org/springframework/boot/test/json/JacksonTester.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* &#064;Before
5757
* public void setup() {
5858
* JsonMapper jsonMapper = new JsonMapper();
59-
* JacksonTester.initFields(this, objectMapper);
59+
* JacksonTester.initFields(this, jsonMapper);
6060
* }
6161
*
6262
* &#064;Test
@@ -88,7 +88,7 @@ public class JacksonTester<T> extends AbstractJsonMarshalTester<T> {
8888
* @since 4.0.0
8989
*/
9090
protected JacksonTester(JsonMapper jsonMapper) {
91-
Assert.notNull(jsonMapper, "'objectMapper' must not be null");
91+
Assert.notNull(jsonMapper, "'jsonMapper' must not be null");
9292
this.jsonMapper = jsonMapper;
9393
}
9494

0 commit comments

Comments
 (0)