Permalink
Browse files

Restored the exception for attempting to get the directory list

of a path that doesn't identify a directory.
  • Loading branch information...
ndw committed Aug 17, 2014
1 parent e14175a commit e5cf11e60ce4dee8b967a941fee27a92c585b82c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/xmlcalabash/io/FileDataStore.java
@@ -171,7 +171,7 @@ public void listEachEntry(String href, String base, String accept,
handler.list(f.toURI(), type, f.lastModified());
}
} else {
// There's nothing to do...
throw new FileNotFoundException(file.getAbsolutePath() + " is not a directory");
}
} else {
fallback.listEachEntry(href, base, accept, handler);

0 comments on commit e5cf11e

Please sign in to comment.