From cafbc396f8a727662a31ca0d00836f91be1af465 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 3 Dec 2018 14:25:35 +0530 Subject: Sonar Fix: SwaggerConfig.java Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-782 Change-Id: Ibe479d5447944521d450f1b1c8cec96b66cbb8ba Signed-off-by: Arundathi Patil --- .../java/org/onap/ccsdk/apps/blueprintsprocessor/SwaggerConfig.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/SwaggerConfig.java b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/SwaggerConfig.java index fc1007f76..72fa260b9 100644 --- a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/SwaggerConfig.java +++ b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/SwaggerConfig.java @@ -42,10 +42,6 @@ import java.util.Set; @Configuration @EnableSwagger2 public class SwaggerConfig { - private static final Set DEFAULT_PRODUCES_AND_CONSUMES = - new HashSet<>(Arrays.asList("application/json", - "application/xml")); - private static Logger log = LoggerFactory.getLogger(SwaggerConfig.class); @Bean public Docket api() { -- cgit 1.2.3-korg