mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Minor cleanup of unused argument after rev 31223 (ALF-10699)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -149,24 +149,24 @@ import org.apache.commons.logging.LogFactory;
|
||||
return (primaryAssocId != null) ? parentAssocsById.get(primaryAssocId) : null;
|
||||
}
|
||||
|
||||
public ParentAssocsInfo changeIsRoot(boolean isRoot, Long txnId)
|
||||
public ParentAssocsInfo changeIsRoot(boolean isRoot)
|
||||
{
|
||||
return new ParentAssocsInfo(isRoot, this.isRoot, parentAssocsById, primaryAssocId);
|
||||
}
|
||||
|
||||
public ParentAssocsInfo changeIsStoreRoot(boolean isStoreRoot, Long txnId)
|
||||
public ParentAssocsInfo changeIsStoreRoot(boolean isStoreRoot)
|
||||
{
|
||||
return new ParentAssocsInfo(this.isRoot, isStoreRoot, parentAssocsById, primaryAssocId);
|
||||
}
|
||||
|
||||
public ParentAssocsInfo addAssoc(Long assocId, ChildAssocEntity parentAssoc, Long txnId)
|
||||
public ParentAssocsInfo addAssoc(Long assocId, ChildAssocEntity parentAssoc)
|
||||
{
|
||||
Map<Long, ChildAssocEntity> parentAssocs = new HashMap<Long, ChildAssocEntity>(parentAssocsById);
|
||||
parentAssocs.put(parentAssoc.getId(), parentAssoc);
|
||||
return new ParentAssocsInfo(isRoot, isStoreRoot, parentAssocs, primaryAssocId);
|
||||
}
|
||||
|
||||
public ParentAssocsInfo removeAssoc(Long assocId, Long txnId)
|
||||
public ParentAssocsInfo removeAssoc(Long assocId)
|
||||
{
|
||||
Map<Long, ChildAssocEntity> parentAssocs = new HashMap<Long, ChildAssocEntity>(parentAssocsById);
|
||||
parentAssocs.remove(assocId);
|
||||
|
Reference in New Issue
Block a user