Shashikanth VH
Committed by Gerrit Code Review

Yang file scanner bug fix.

Change-Id: Id67b0c519581adb34a72ef363470f8d39877823f
......@@ -85,7 +85,7 @@ public final class YangFileScanner {
root = stack.pop();
file = new File(root);
filelist = file.listFiles();
if (filelist.length == 0) {
if ((filelist == null) || (filelist.length == 0)) {
continue;
}
for (File current : filelist) {
......