changeset 1:6b0267cb40ed

minor
author dwinter
date Fri, 26 Nov 2010 09:09:25 +0100
parents c6929e63b0b8
children fab8e78184fa
files src/de/mpiwg/itgroup/eSciDoc/foxridge/IndexMetaIterator.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/de/mpiwg/itgroup/eSciDoc/foxridge/IndexMetaIterator.java	Wed Nov 24 16:52:07 2010 +0100
+++ b/src/de/mpiwg/itgroup/eSciDoc/foxridge/IndexMetaIterator.java	Fri Nov 26 09:09:25 2010 +0100
@@ -81,7 +81,8 @@
 			nextFile = null;
 		System.out.println("FOUND:"+nextFile);
 		try {
-			return createECHOObject(nextFile);
+			if (nextFile!=null)
+				return createECHOObject(nextFile);
 		} catch (JDOMException e) {
 			// TODO Auto-generated catch block
 			e.printStackTrace();