Skip to content

Commit

Permalink
Minor test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 18, 2024
1 parent 6c782df commit e73a605
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static class Input3241 {
// @JsonCreator gone!
public Input3241(@ImplicitName("field") Boolean field) {
if (field == null) {
throw new NullPointerException("Should not get here!");
throw new NullPointerException("Field should not remain null!");
}
this.field = field;
}
Expand All @@ -74,7 +74,7 @@ void nullHandlingCreator3241() throws Exception {
}

private JsonMapper.Builder mapperBuilder() {
return JsonMapper.builder()
return jsonMapperBuilder()
.annotationIntrospector(new CtorNameIntrospector());
}
}

0 comments on commit e73a605

Please sign in to comment.