summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2018-01-23 11:17:35 +0100
committerTakamune Cho <tc012c@att.com>2018-01-24 23:52:29 +0000
commit89643b13c43752a693b0387fe530deb8be995b7c (patch)
treed03b2025b39332a60202ff8741301f61d9c5f2ca
parent494a92faa7f5c0508fda799b384086b7f46b6404 (diff)
Removed unnecessary check
Issue-ID: APPC-451 Change-Id: Iecc6c38ac2ad59f1912a88772c7284c9efb83f8e Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
-rw-r--r--appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLLoad.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/DGXMLLoad.java b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLLoad.java
index 4e7e57406..115681574 100644
--- a/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLLoad.java
+++ b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLLoad.java
@@ -65,7 +65,7 @@ public class DGXMLLoad {
List<String> errors = new ArrayList<String>();
if (this.store != null) {
File xmlDir = new File(xmlPath);
- if (xmlDir != null && xmlDir.isDirectory()) {
+ if (xmlDir.isDirectory()) {
String[] extensions = new String[] {"xml", "XML"};
List<File> files = (List<File>) FileUtils.listFiles(xmlDir, extensions, true);
for (File file : files) {