summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/dg-loader/provider/src
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/dg-loader/provider/src')
-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) {