File tree Expand file tree Collapse file tree
datatypes/src/test/java/com/fasterxml/jackson/datatype/jdk8
datetime/src/test/java/com/fasterxml/jackson/datatype/jsr310 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ public void testSerOptNonEmpty() throws Exception {
197197 public void testWithTypingEnabled () throws Exception {
198198 final ObjectMapper objectMapper = mapperWithModule ();
199199 // ENABLE TYPING
200- objectMapper .enableDefaultTyping (new NoCheckSubTypeValidator (),
200+ objectMapper .activateDefaultTyping (new NoCheckSubTypeValidator (),
201201 ObjectMapper .DefaultTyping .OBJECT_AND_NON_CONCRETE );
202202
203203 final OptionalData myData = new OptionalData ();
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class DefaultTypingTest extends ModuleTestBase
1313{
1414 private final ObjectMapper TYPING_MAPPER = newMapper ();
1515 {
16- TYPING_MAPPER .enableDefaultTyping (new NoCheckSubTypeValidator ());
16+ TYPING_MAPPER .activateDefaultTyping (new NoCheckSubTypeValidator ());
1717 }
1818
1919 // for [datatype-jsr310#24]
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class PolymorphicTest extends ModuleTestBase
1313{
1414 private final ObjectMapper TYPING_MAPPER = newMapper ();
1515 {
16- TYPING_MAPPER .enableDefaultTyping (new NoCheckSubTypeValidator ());
16+ TYPING_MAPPER .activateDefaultTyping (new NoCheckSubTypeValidator ());
1717 }
1818
1919 // for [datatype-jsr310#24]
Original file line number Diff line number Diff line change 1717package com .fasterxml .jackson .datatype .jsr310 .ser ;
1818
1919import static org .junit .Assert .assertEquals ;
20- import static org .junit .Assert .assertNotNull ;
21- import static org .junit .Assert .assertTrue ;
2220
2321import java .time .Period ;
2422import java .time .temporal .TemporalAmount ;
You can’t perform that action at this time.
0 commit comments