File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/fasterxml/jackson/failing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ public Internal2465(String val) {
3838 public void testInjectWithCreator () throws Exception
3939 {
4040 ObjectMapper mapper = jsonMapperBuilder ()
41- .defaultSetterInfo (JsonSetter .Value .construct (Nulls .AS_EMPTY , Nulls .AS_EMPTY ))
41+ .changeDefaultNullHandling (h -> JsonSetter .Value .construct (Nulls .AS_EMPTY , Nulls .AS_EMPTY ))
42+ .changeDefaultVisibility (h -> h .withVisibility (PropertyAccessor .FIELD ,
43+ JsonAutoDetect .Visibility .ANY ))
4244 .build ();
43- mapper .setVisibility (mapper .getVisibilityChecker ().withVisibility (PropertyAccessor .FIELD ,
44- JsonAutoDetect .Visibility .ANY ));
4545
4646 final Internal2465 injected = new Internal2465 ("test" );
4747 TestCase2465 o = mapper .readerFor (TestCase2465 .class )
You can’t perform that action at this time.
0 commit comments