Skip to content

Commit e73a605

Browse files
committed
Minor test improvement
1 parent 6c782df commit e73a605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/fasterxml/jackson/failing/ConstructorDetector3241Test.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static class Input3241 {
4747
// @JsonCreator gone!
4848
public Input3241(@ImplicitName("field") Boolean field) {
4949
if (field == null) {
50-
throw new NullPointerException("Should not get here!");
50+
throw new NullPointerException("Field should not remain null!");
5151
}
5252
this.field = field;
5353
}
@@ -74,7 +74,7 @@ void nullHandlingCreator3241() throws Exception {
7474
}
7575

7676
private JsonMapper.Builder mapperBuilder() {
77-
return JsonMapper.builder()
77+
return jsonMapperBuilder()
7878
.annotationIntrospector(new CtorNameIntrospector());
7979
}
8080
}

0 commit comments

Comments
 (0)