mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed complete muppetry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -116,7 +116,6 @@ public class LuceneIndexerImpl extends LuceneBase implements LuceneIndexer
|
|||||||
*
|
*
|
||||||
* TODO: Consider if this information needs to be persisted for recovery
|
* TODO: Consider if this information needs to be persisted for recovery
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private Set<NodeRef> deletions = new LinkedHashSet<NodeRef>();
|
private Set<NodeRef> deletions = new LinkedHashSet<NodeRef>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -801,7 +800,7 @@ public class LuceneIndexerImpl extends LuceneBase implements LuceneIndexer
|
|||||||
if (commandList.size() > 0)
|
if (commandList.size() > 0)
|
||||||
{
|
{
|
||||||
Command last = commandList.get(commandList.size() - 1);
|
Command last = commandList.get(commandList.size() - 1);
|
||||||
if (last.action == command.action)
|
if ((last.action == command.action) && (last.nodeRef.equals(command.nodeRef)))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -842,7 +841,7 @@ public class LuceneIndexerImpl extends LuceneBase implements LuceneIndexer
|
|||||||
Command current = it.previous();
|
Command current = it.previous();
|
||||||
if (matchExact)
|
if (matchExact)
|
||||||
{
|
{
|
||||||
if (current.action == command.action)
|
if ((current.action == command.action) && (current.nodeRef.equals(command.nodeRef)))
|
||||||
{
|
{
|
||||||
it.remove();
|
it.remove();
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user