Skip to content

Commit 86c13c8

Browse files
Update dependency com.fasterxml.jackson:jackson-bom to v2.18.2 (#154)
* Update dependency com.fasterxml.jackson:jackson-bom to v2.18.2 * Do not use deprecated method in example code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jendrik Johannes <[email protected]>
1 parent 9db59cd commit 86c13c8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

samples/versions-in-platform/app/src/main/java/org/my/app/App.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ public static void main(String[] args) {
1111

1212
public static boolean doWork() {
1313
ObjectMapper om = new ObjectMapper();
14-
if (!om.canSerialize(LoggerFactoryBinder.class)) {
15-
throw new RuntimeException("Boom!");
16-
}
14+
LoggerFactoryBinder lfb;
1715
System.out.println(App.class.getModule().getName());
1816

1917
try {

samples/versions-in-platform/platform/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55

66
dependencies {
7-
api(platform("com.fasterxml.jackson:jackson-bom:2.13.2"))
7+
api(platform("com.fasterxml.jackson:jackson-bom:2.18.2"))
88
api(platform("org.junit:junit-bom:5.11.4"))
99
}
1010

0 commit comments

Comments
 (0)