aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph')
-rw-r--r--appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java
index 9050fa061..6d2cfda4d 100644
--- a/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java
+++ b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java
@@ -62,7 +62,7 @@ public class DGXMLActivate {
List<String> errors = new ArrayList<String>();
if (this.store != null) {
File activateFile = new File(activateFilePath);
- if (activateFile != null && activateFile.isFile()) {
+ if (activateFile.isFile()) {
List<String> fileLines = FileUtils.readLines(activateFile, STRING_ENCODING);
if (fileLines != null) {
for (String line : fileLines) {