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 30
30
import org .mockito .ArgumentMatchers ;
31
31
import org .mockito .Mock ;
32
32
import org .mockito .junit .jupiter .MockitoExtension ;
33
+
33
34
import org .springframework .data .annotation .CreatedDate ;
34
35
import org .springframework .data .annotation .Id ;
35
36
import org .springframework .data .annotation .Immutable ;
60
61
import com .fasterxml .jackson .databind .JsonMappingException ;
61
62
import com .fasterxml .jackson .databind .JsonNode ;
62
63
import com .fasterxml .jackson .databind .ObjectMapper ;
63
- import com .fasterxml .jackson .databind .PropertyNamingStrategy ;
64
+ import com .fasterxml .jackson .databind .PropertyNamingStrategies ;
64
65
import com .fasterxml .jackson .databind .annotation .JsonDeserialize ;
65
66
import com .fasterxml .jackson .databind .deser .std .StdDeserializer ;
66
67
import com .fasterxml .jackson .databind .module .SimpleModule ;
@@ -132,7 +133,7 @@ void doesNotConsiderIgnoredProperties() throws Exception {
132
133
void considersMappedFieldNamesWhenApplyingNodeToDomainObject () throws Exception {
133
134
134
135
ObjectMapper mapper = new ObjectMapper ();
135
- mapper .setPropertyNamingStrategy (PropertyNamingStrategy .UPPER_CAMEL_CASE );
136
+ mapper .setPropertyNamingStrategy (PropertyNamingStrategies .UPPER_CAMEL_CASE );
136
137
137
138
JsonNode node = new ObjectMapper ().readTree ("{\" FirstName\" :\" Carter\" ,\" LastName\" :\" Beauford\" }" );
138
139
You can’t perform that action at this time.
0 commit comments