Skip to content

Commit a1f3fd5

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

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
@@ -478,7 +478,7 @@
478478
<dependency>
479479
<groupId>com.fasterxml.jackson</groupId>
480480
<artifactId>jackson-bom</artifactId>
481-
<version>2.18.2</version>
481+
<version>2.20.0</version>
482482
<scope>import</scope>
483483
<type>pom</type>
484484
</dependency>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class GitHubClient {
8989
MAPPER.setVisibility(new VisibilityChecker.Std(NONE, NONE, NONE, NONE, ANY));
9090
MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
9191
MAPPER.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, true);
92-
MAPPER.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
92+
MAPPER.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE);
9393
}
9494

9595
/**

0 commit comments

Comments
 (0)