mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix WCM/AVM test failures (fix typo from r18840)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1100,16 +1100,23 @@ public class AVMSyncServiceImpl implements AVMSyncService
|
||||
|
||||
if (srcSet.size() == dstSet.size())
|
||||
{
|
||||
same = true;
|
||||
for (AccessPermission srcPerm : srcSet)
|
||||
{
|
||||
boolean found = false;
|
||||
for (AccessPermission dstPerm : dstSet)
|
||||
{
|
||||
if (compareAccessPermission(srcPerm, dstPerm))
|
||||
{
|
||||
same = true;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (! found)
|
||||
{
|
||||
same = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user