summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java4
-rw-r--r--cps/cps-service/src/test/java/org/onap/cps/TestUtils.java4
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 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