From: ToineSiebelink Date: Mon, 5 Oct 2020 09:29:14 +0000 (+0100) Subject: Fixing checkstyle issues X-Git-Tag: 0.0.1~120^2~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=42374f88049182a1a548f800da83a54b47ea9a15;p=cps.git Fixing checkstyle issues Issue-ID: CCSDK-2757 Jira Link: https://jira.onap.org/browse/CCSDK-2757 Change-Id: I933f1c44f7525aeb57916b2db63ea0b96e457368 --- diff --git a/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java b/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java index cb8e20c8a2..001a474380 100644 --- a/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java +++ b/cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java @@ -43,9 +43,7 @@ public class CpServiceImpl implements CpService { private static final Logger LOGGER = LoggerFactory.getLogger(CpServiceImpl.class); - private static final YangParserFactory PARSER_FACTORY; - - @Autowired + @Autowired private ModelPersistencyService modelPersistencyService; @Autowired diff --git a/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java b/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java index e15cf525f9..07647520b0 100644 --- a/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java +++ b/cps/cps-service/src/test/java/org/onap/cps/TestUtils.java @@ -24,11 +24,11 @@ import java.io.IOException; import java.nio.file.Files; /** - * Common convenience methods for testing + * Common convenience methods for testing. */ public class TestUtils { /** - * Convert a file in the test resource folder to a string + * Convert a file in the test resource folder to a string. * * @param filename to name of the file in test/resources * @return the content of the file as a String