fixed sonar issues in SvcLogicCrawler.java
authorSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:28:18 +0000 (18:58 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:28:33 +0000 (18:58 +0530)
fixed sonar issues

Issue-ID: CCSDK-525
Change-Id: I4d5e95cfac8bb04d03752015d64f7c3b61495f1a
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicCrawler.java

index 5ee138a..c6fd8b6 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                                             reserved.
  * ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -37,8 +39,8 @@ public class SvcLogicCrawler extends SimpleFileVisitor<Path> {
     private List<Path> activationFilePathList;
 
     public SvcLogicCrawler() {
-        xmlGraphPathList = new ArrayList<Path>();
-        activationFilePathList = new ArrayList<Path>();
+        xmlGraphPathList = new ArrayList<>();
+        activationFilePathList = new ArrayList<>();
     }
 
     @Override