|
|
|
|
@ -160,6 +160,12 @@ public synchronized QueryResultSet findLast(int count) throws RuntimeException
|
|
|
|
|
Document doc = this.historyImpl.
|
|
|
|
|
getDocumentForFile( (String) filelist.get(currentFile));
|
|
|
|
|
|
|
|
|
|
if(doc == null)
|
|
|
|
|
{
|
|
|
|
|
currentFile--;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// will get nodes and construct a List of nodes
|
|
|
|
|
// so we can easyly get sublist of it
|
|
|
|
|
List nodes = new ArrayList();
|
|
|
|
|
@ -313,6 +319,9 @@ private QueryResultSet find(
|
|
|
|
|
|
|
|
|
|
Document doc = this.historyImpl.getDocumentForFile(filename);
|
|
|
|
|
|
|
|
|
|
if(doc == null)
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
NodeList nodes = doc.getElementsByTagName("record");
|
|
|
|
|
|
|
|
|
|
double nodesProgressStep = fileProgressStep;
|
|
|
|
|
|