From 89643b13c43752a693b0387fe530deb8be995b7c Mon Sep 17 00:00:00 2001 From: burdziak Date: Tue, 23 Jan 2018 11:17:35 +0100 Subject: Removed unnecessary check Issue-ID: APPC-451 Change-Id: Iecc6c38ac2ad59f1912a88772c7284c9efb83f8e Signed-off-by: burdziak --- .../provider/src/main/java/org/onap/sdnc/dg/loader/DGXMLLoad.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 errors = new ArrayList(); if (this.store != null) { File xmlDir = new File(xmlPath); - if (xmlDir != null && xmlDir.isDirectory()) { + if (xmlDir.isDirectory()) { String[] extensions = new String[] {"xml", "XML"}; List files = (List) FileUtils.listFiles(xmlDir, extensions, true); for (File file : files) { -- cgit 1.2.3-korg