Fixing checkstyle issues
authorToineSiebelink <toine.siebelink@est.tech>
Mon, 5 Oct 2020 09:29:14 +0000 (10:29 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 5 Oct 2020 09:29:18 +0000 (10:29 +0100)
Issue-ID: CCSDK-2757
Link: https://jira.onap.org/browse/CCSDK-2757
Change-Id: I933f1c44f7525aeb57916b2db63ea0b96e457368

cps/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java
cps/cps-service/src/test/java/org/onap/cps/TestUtils.java

index cb8e20c..001a474 100644 (file)
@@ -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
index e15cf52..0764752 100644 (file)
@@ -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