Fix AVM index for last index info

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2007-07-12 21:22:55 +00:00
parent bef3799e15
commit 7a575c5518

View File

@@ -1374,7 +1374,11 @@ public class AVMLuceneIndexerImpl extends AbstractLuceneIndexerImpl<String> impl
if (docs.next())
{
String[] split = term.text().split(":");
end = Integer.parseInt(split[3]);
int test = Integer.parseInt(split[3]);
if(test > end)
{
end = test;
}
}
}
finally
@@ -1480,7 +1484,11 @@ public class AVMLuceneIndexerImpl extends AbstractLuceneIndexerImpl<String> impl
if (docs.next())
{
String[] split = term.text().split(":");
end = Integer.parseInt(split[4]);
int test = Integer.parseInt(split[4]);
if(test > end)
{
end = test;
}
}
}
finally