File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/gitlab4j/api/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3232import com .fasterxml .jackson .databind .JsonSerializer ;
3333import com .fasterxml .jackson .databind .ObjectMapper ;
3434import com .fasterxml .jackson .databind .ObjectWriter ;
35- import com .fasterxml .jackson .databind .PropertyNamingStrategy ;
35+ import com .fasterxml .jackson .databind .PropertyNamingStrategies ;
3636import com .fasterxml .jackson .databind .SerializationFeature ;
3737import com .fasterxml .jackson .databind .SerializerProvider ;
3838import com .fasterxml .jackson .databind .module .SimpleModule ;
@@ -59,7 +59,7 @@ public JacksonJson() {
5959 objectMapper = new ObjectMapper ();
6060
6161 objectMapper .setSerializationInclusion (Include .NON_NULL );
62- objectMapper .setPropertyNamingStrategy (PropertyNamingStrategy .SNAKE_CASE );
62+ objectMapper .setPropertyNamingStrategy (PropertyNamingStrategies .SNAKE_CASE );
6363
6464 objectMapper .configure (SerializationFeature .WRITE_DATES_AS_TIMESTAMPS , false );
6565 objectMapper .configure (SerializationFeature .WRITE_ENUMS_USING_TO_STRING , true );
@@ -359,7 +359,7 @@ private static class JacksonJsonSingletonHelper {
359359 private static final JacksonJson JACKSON_JSON = new JacksonJson ();
360360
361361 static {
362- JACKSON_JSON .objectMapper .setPropertyNamingStrategy (PropertyNamingStrategy .LOWER_CAMEL_CASE );
362+ JACKSON_JSON .objectMapper .setPropertyNamingStrategy (PropertyNamingStrategies .LOWER_CAMEL_CASE );
363363 JACKSON_JSON .objectMapper .setSerializationInclusion (Include .ALWAYS );
364364 }
365365 }
You can’t perform that action at this time.
0 commit comments