mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Removed unnecessary code that has no effect now
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,11 +57,6 @@ public class ChildAssocImpl implements ChildAssoc
|
|||||||
// add the forward associations
|
// add the forward associations
|
||||||
this.setParent(parentNode);
|
this.setParent(parentNode);
|
||||||
this.setChild(childNode);
|
this.setChild(childNode);
|
||||||
// Force initialization of the inverse collections
|
|
||||||
// so that we don't queue additions to them.
|
|
||||||
// This can go if we move to set-based collections
|
|
||||||
parentNode.getChildAssocs().size();
|
|
||||||
childNode.getParentAssocs().size();
|
|
||||||
// add the inverse associations
|
// add the inverse associations
|
||||||
parentNode.getChildAssocs().add(this);
|
parentNode.getChildAssocs().add(this);
|
||||||
childNode.getParentAssocs().add(this);
|
childNode.getParentAssocs().add(this);
|
||||||
|
@@ -54,11 +54,6 @@ public class NodeAssocImpl implements NodeAssoc
|
|||||||
// add the forward associations
|
// add the forward associations
|
||||||
this.setTarget(targetNode);
|
this.setTarget(targetNode);
|
||||||
this.setSource(sourceNode);
|
this.setSource(sourceNode);
|
||||||
// Force initialization of the inverse collections
|
|
||||||
// so that we don't queue additions to them.
|
|
||||||
// This can go if we move to set-based collections
|
|
||||||
sourceNode.getSourceNodeAssocs().size();
|
|
||||||
targetNode.getTargetNodeAssocs().size();
|
|
||||||
// add the inverse associations
|
// add the inverse associations
|
||||||
sourceNode.getTargetNodeAssocs().add(this);
|
sourceNode.getTargetNodeAssocs().add(this);
|
||||||
targetNode.getSourceNodeAssocs().add(this);
|
targetNode.getSourceNodeAssocs().add(this);
|
||||||
|
Reference in New Issue
Block a user