diff options
author | 2020-10-05 10:29:14 +0100 | |
---|---|---|
committer | 2020-10-05 10:29:18 +0100 | |
commit | 42374f88049182a1a548f800da83a54b47ea9a15 (patch) | |
tree | 5b18b71f32fc919712bd9b83051749ab82e34b87 | |
parent | 14f3af1327204bdeee57241bd094b426e0741312 (diff) |
Fixing checkstyle issues
Issue-ID: CCSDK-2757
Jira Link: https://jira.onap.org/browse/CCSDK-2757
Change-Id: I933f1c44f7525aeb57916b2db63ea0b96e457368
-rw-r--r-- | cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java | 4 | ||||
-rw-r--r-- | cps/cps-service/src/test/java/org/onap/cps/TestUtils.java | 4 |
2 files changed, 3 insertions, 5 deletions
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 cb8e20c8a..001a47438 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 e15cf525f..07647520b 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 |