comparison src/de/mpiwg/itgroup/eSciDoc/foxridge/IndexMetaIterator.java @ 1:6b0267cb40ed

minor
author dwinter
date Fri, 26 Nov 2010 09:09:25 +0100
parents c6929e63b0b8
children a844f6948dd8
comparison
equal deleted inserted replaced
0:c6929e63b0b8 1:6b0267cb40ed
79 } 79 }
80 if (!nextFile.getName().endsWith(".meta")) //der letzte Eintrag muss noch gretrennt getestet werden. 80 if (!nextFile.getName().endsWith(".meta")) //der letzte Eintrag muss noch gretrennt getestet werden.
81 nextFile = null; 81 nextFile = null;
82 System.out.println("FOUND:"+nextFile); 82 System.out.println("FOUND:"+nextFile);
83 try { 83 try {
84 return createECHOObject(nextFile); 84 if (nextFile!=null)
85 return createECHOObject(nextFile);
85 } catch (JDOMException e) { 86 } catch (JDOMException e) {
86 // TODO Auto-generated catch block 87 // TODO Auto-generated catch block
87 e.printStackTrace(); 88 e.printStackTrace();
88 } catch (IOException e) { 89 } catch (IOException e) {
89 // TODO Auto-generated catch block 90 // TODO Auto-generated catch block