From 71da69c9777e0a9aa6ba312f32a291bc7c14cc22 Mon Sep 17 00:00:00 2001 From: burdziak Date: Tue, 23 Jan 2018 11:04:53 +0100 Subject: Removed unnecesary check Issue-ID: APPC-450 Change-Id: I7bd9b4e4ddfb6d00183ba099e9df91ef7feba5d7 Signed-off-by: burdziak --- .../provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-directed-graph/dg-loader') 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 errors = new ArrayList(); if (this.store != null) { File activateFile = new File(activateFilePath); - if (activateFile != null && activateFile.isFile()) { + if (activateFile.isFile()) { List fileLines = FileUtils.readLines(activateFile, STRING_ENCODING); if (fileLines != null) { for (String line : fileLines) { -- cgit 1.2.3-korg