Commit 18699062 authored by helene ortiz's avatar helene ortiz
Browse files

No commit message

No commit message
parent 97bd69c1
......@@ -22,7 +22,6 @@ import java.io.File;
import java.io.FilenameFilter;
import java.util.Set;
import java.util.TreeSet;
import java.util.logging.Level;
import java.util.logging.Logger;
public class FileHelper {
......@@ -51,9 +50,7 @@ public class FileHelper {
String[] children = dir.list(filter);
// append full path to file names
if (children == null) {
LOGGER.log(Level.WARNING, "Either the " + path + " directory does not exist or is not a directory");
} else {
if (children != null) {
for (int i = 0; i < children.length; i++) {
if (withFullPath) {
children[i] = path + children[i];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment