Fix wrong variable name

See gh-47478

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
Yanming Zhou
2025-10-10 17:37:16 +02:00
committed by Stéphane Nicoll
parent 661574b226
commit aa09c8583d
@@ -56,7 +56,7 @@ import org.springframework.util.Assert;
* &#064;Before
* public void setup() {
* JsonMapper jsonMapper = new JsonMapper();
* JacksonTester.initFields(this, objectMapper);
* JacksonTester.initFields(this, jsonMapper);
* }
*
* &#064;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;
}