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:
Derek Hulley
2006-05-16 14:12:15 +00:00
parent a0a7f6f609
commit 5bc354d8b6
2 changed files with 0 additions and 10 deletions

View File

@@ -57,11 +57,6 @@ public class ChildAssocImpl implements ChildAssoc
// add the forward associations
this.setParent(parentNode);
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
parentNode.getChildAssocs().add(this);
childNode.getParentAssocs().add(this);

View File

@@ -54,11 +54,6 @@ public class NodeAssocImpl implements NodeAssoc
// add the forward associations
this.setTarget(targetNode);
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
sourceNode.getTargetNodeAssocs().add(this);
targetNode.getSourceNodeAssocs().add(this);