Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 19, 2019
1 parent 6ee24c3 commit 55e8d23
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public Internal2465(String val) {
public void testInjectWithCreator() throws Exception
{
ObjectMapper mapper = jsonMapperBuilder()
.defaultSetterInfo(JsonSetter.Value.construct(Nulls.AS_EMPTY, Nulls.AS_EMPTY))
.changeDefaultNullHandling(h -> JsonSetter.Value.construct(Nulls.AS_EMPTY, Nulls.AS_EMPTY))
.changeDefaultVisibility(h -> h.withVisibility(PropertyAccessor.FIELD,
JsonAutoDetect.Visibility.ANY))
.build();
mapper.setVisibility(mapper.getVisibilityChecker().withVisibility(PropertyAccessor.FIELD,
JsonAutoDetect.Visibility.ANY));

final Internal2465 injected = new Internal2465("test");
TestCase2465 o = mapper.readerFor(TestCase2465.class)
Expand Down

0 comments on commit 55e8d23

Please sign in to comment.