mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged DEV to HEAD
30321: ALF-10115: Working copies in repository upgraded to 4.0 does not get cm:original association - breaks document listing In WorkProvider.getNextWork() method, changed type of results to Set<Pair<Long, NodeRef>> to prevent duplicate nodes in the returned collection. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -339,7 +339,7 @@ public class CopiedFromAspectPatch extends AbstractPatch
|
||||
public synchronized Collection<Pair<Long, NodeRef>> getNextWork()
|
||||
{
|
||||
// Record the results
|
||||
final List<Pair<Long, NodeRef>> results = new ArrayList<Pair<Long, NodeRef>>(batchMaxQueryRange);
|
||||
final Set<Pair<Long, NodeRef>> results = new HashSet<Pair<Long, NodeRef>>(batchMaxQueryRange*2);
|
||||
// Record the node IDs for bulk loading
|
||||
final List<Long> nodeIds = new ArrayList<Long>(batchMaxQueryRange);
|
||||
|
||||
|
Reference in New Issue
Block a user