From f67923ce0cce5f29886e137ae3cba9fb3f5eb26e Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:25:25 +0100 Subject: [PATCH] feat(impl):[#359] fix pmd --- .../decentral/DecentralDigitalTwinRegistryClient.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index 3fdd35a78b..eb01f48b46 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -56,10 +56,10 @@ public class DecentralDigitalTwinRegistryClient { private static final ObjectWriter WRITER; static { - final ObjectMapper MAPPER = new ObjectMapper(); - MAPPER.enable(SerializationFeature.INDENT_OUTPUT); - MAPPER.setSerializationInclusion(JsonInclude.Include.NON_NULL); - WRITER = MAPPER.writer(); + final ObjectMapper mapper = new ObjectMapper(); + mapper.enable(SerializationFeature.INDENT_OUTPUT); + mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); + WRITER = mapper.writer(); } private final RestTemplate edcRestTemplate;