File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3030import org .mockito .ArgumentMatchers ;
3131import org .mockito .Mock ;
3232import org .mockito .junit .jupiter .MockitoExtension ;
33+
3334import org .springframework .data .annotation .CreatedDate ;
3435import org .springframework .data .annotation .Id ;
3536import org .springframework .data .annotation .Immutable ;
6061import com .fasterxml .jackson .databind .JsonMappingException ;
6162import com .fasterxml .jackson .databind .JsonNode ;
6263import com .fasterxml .jackson .databind .ObjectMapper ;
63- import com .fasterxml .jackson .databind .PropertyNamingStrategy ;
64+ import com .fasterxml .jackson .databind .PropertyNamingStrategies ;
6465import com .fasterxml .jackson .databind .annotation .JsonDeserialize ;
6566import com .fasterxml .jackson .databind .deser .std .StdDeserializer ;
6667import com .fasterxml .jackson .databind .module .SimpleModule ;
@@ -132,7 +133,7 @@ void doesNotConsiderIgnoredProperties() throws Exception {
132133 void considersMappedFieldNamesWhenApplyingNodeToDomainObject () throws Exception {
133134
134135 ObjectMapper mapper = new ObjectMapper ();
135- mapper .setPropertyNamingStrategy (PropertyNamingStrategy .UPPER_CAMEL_CASE );
136+ mapper .setPropertyNamingStrategy (PropertyNamingStrategies .UPPER_CAMEL_CASE );
136137
137138 JsonNode node = new ObjectMapper ().readTree ("{\" FirstName\" :\" Carter\" ,\" LastName\" :\" Beauford\" }" );
138139
You can’t perform that action at this time.
0 commit comments