From a41f46c5941d1bf26ef34370ccfb6921b4693a34 Mon Sep 17 00:00:00 2001 From: kwoyke Date: Wed, 27 Oct 2021 20:56:46 +0200 Subject: [PATCH] BAEL-5114: Do not use deprecated PropertyNamingStrategy class (#11371) --- .../com/baeldung/jackson/advancedannotations/NamingBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jackson-modules/jackson-annotations/src/test/java/com/baeldung/jackson/advancedannotations/NamingBean.java b/jackson-modules/jackson-annotations/src/test/java/com/baeldung/jackson/advancedannotations/NamingBean.java index 323df49c14..c1b8da4c1c 100644 --- a/jackson-modules/jackson-annotations/src/test/java/com/baeldung/jackson/advancedannotations/NamingBean.java +++ b/jackson-modules/jackson-annotations/src/test/java/com/baeldung/jackson/advancedannotations/NamingBean.java @@ -1,9 +1,9 @@ package com.baeldung.jackson.advancedannotations; -import com.fasterxml.jackson.databind.PropertyNamingStrategy; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; -@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) public class NamingBean { private int id; private String beanName;