File baseDir = new File(basePath); if (!baseDir.exists()) { return ExceptionalIterator.Empty.create();
public void testEmptyIteratorIsEmpty() throws Exception { ExceptionalIterator<?, Exception> empty = ExceptionalIterator.Empty.create(); assertFalse(empty.hasNext()); }
public void testEmptyIteratorIsEmpty() throws Exception { ExceptionalIterator<?, Exception> empty = ExceptionalIterator.Empty.create(); assertFalse(empty.hasNext()); }