diff options
author | burdziak <olaf.burdziakowski@nokia.com> | 2018-01-23 11:04:53 +0100 |
---|---|---|
committer | Skip Wonnell <skip@att.com> | 2018-01-25 15:31:29 +0000 |
commit | 71da69c9777e0a9aa6ba312f32a291bc7c14cc22 (patch) | |
tree | 4ce22f57dcdd4e5d527a57d7da58230a19217c9a /appc-directed-graph/dg-loader/provider | |
parent | 30efe69df55c300d18c79487f14cdd71ec26fada (diff) |
Removed unnecesary check
Issue-ID: APPC-450
Change-Id: I7bd9b4e4ddfb6d00183ba099e9df91ef7feba5d7
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'appc-directed-graph/dg-loader/provider')
-rw-r--r-- | appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLActivate.java | 2 |
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) { |