Fixed sonar issues in ReloadConfigController class
authorMichal Banka <michal.banka@nokia.com>
Thu, 12 Mar 2020 09:49:38 +0000 (10:49 +0100)
committerMichal Banka <michal.banka@nokia.com>
Thu, 12 Mar 2020 09:49:51 +0000 (10:49 +0100)
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I2113898aafac59e26cc1477df54133b82fb9d495
Issue-ID: AAF-997

certService/src/main/java/org/onap/aaf/certservice/api/ReloadConfigController.java

index b6673ce..c52cf4f 100644 (file)
@@ -29,8 +29,6 @@ import io.swagger.v3.oas.annotations.tags.Tag;
 import org.onap.aaf.certservice.certification.configuration.CmpServersConfig;
 import org.onap.aaf.certservice.certification.configuration.CmpServersConfigLoadingException;
 import org.onap.aaf.certservice.certification.exception.ErrorResponseModel;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.ResponseEntity;
@@ -41,8 +39,6 @@ import org.springframework.web.bind.annotation.RestController;
 @Tag(name = "CertificationService")
 public class ReloadConfigController {
 
-    private static final Logger LOGGER = LoggerFactory.getLogger(ReloadConfigController.class);
-
     private final CmpServersConfig cmpServersConfig;
 
     @Autowired