Skip to content

Commit d7a1efc

Browse files
authored
Remove 4 deprecated (in 2.7) PropertyNamingStrategy aliases (#4162)
1 parent bfbbc0d commit d7a1efc

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

src/main/java/com/fasterxml/jackson/databind/PropertyNamingStrategy.java

-30
Original file line numberDiff line numberDiff line change
@@ -422,34 +422,4 @@ public String translate(String input){
422422
return translateLowerCaseWithSeparator(input, '.');
423423
}
424424
}
425-
426-
/*
427-
/**********************************************************
428-
/* Deprecated variants, aliases
429-
/**********************************************************
430-
*/
431-
432-
/**
433-
* @deprecated Since 2.7 use {@link PropertyNamingStrategies#SNAKE_CASE} instead.
434-
*/
435-
@Deprecated // since 2.7
436-
public static final PropertyNamingStrategy CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES = SNAKE_CASE;
437-
438-
/**
439-
* @deprecated Since 2.7 use {@link PropertyNamingStrategies#UPPER_CAMEL_CASE} instead;
440-
*/
441-
@Deprecated // since 2.7
442-
public static final PropertyNamingStrategy PASCAL_CASE_TO_CAMEL_CASE = UPPER_CAMEL_CASE;
443-
444-
/**
445-
* @deprecated In 2.7 use {@link PropertyNamingStrategies.SnakeCaseStrategy} instead
446-
*/
447-
@Deprecated // since 2.7
448-
public static class LowerCaseWithUnderscoresStrategy extends SnakeCaseStrategy {}
449-
450-
/**
451-
* @deprecated In 2.7 use {@link PropertyNamingStrategies.UpperCamelCaseStrategy} instead
452-
*/
453-
@Deprecated // since 2.7
454-
public static class PascalCaseStrategy extends UpperCamelCaseStrategy { }
455425
}

0 commit comments

Comments
 (0)