Skip to content

Commit a2fe6ca

Browse files
authored
fix: remove usage of a deprecated constant. (#2138)
This change requires Jackson `2.12.0` or later. This change is technically breaking but 5+ years old. FasterXML/jackson-databind@9f97baa Fixes #2137
1 parent 970fd47 commit a2fe6ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<dependency>
9090
<groupId>com.fasterxml.jackson</groupId>
9191
<artifactId>jackson-bom</artifactId>
92-
<version>2.19.1</version>
92+
<version>2.20.0</version>
9393
<type>pom</type>
9494
<scope>import</scope>
9595
</dependency>

src/main/java/org/kohsuke/github/GitHubClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static class RetryRequestException extends IOException {
121121
MAPPER.setVisibility(new VisibilityChecker.Std(NONE, NONE, NONE, NONE, ANY));
122122
MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
123123
MAPPER.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, true);
124-
MAPPER.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
124+
MAPPER.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE);
125125
}
126126

127127
@Nonnull

0 commit comments

Comments
 (0)