mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
quick build fix to take account changes to AssociationRef
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -653,7 +653,7 @@ public class RepoTransferReceiverImplTest extends BaseAlfrescoSpringTest
|
||||
}
|
||||
aspects.add(ContentModel.ASPECT_ATTACHABLE);
|
||||
|
||||
AssociationRef newAssoc = new AssociationRef(source.getNodeRef(), ContentModel.ASSOC_ATTACHMENTS, target
|
||||
AssociationRef newAssoc = new AssociationRef(null, source.getNodeRef(), ContentModel.ASSOC_ATTACHMENTS, target
|
||||
.getNodeRef());
|
||||
currentRefereePeers.add(newAssoc);
|
||||
currentReferencedPeers.add(newAssoc);
|
||||
|
@@ -200,13 +200,13 @@ public class TransferManifestTest extends TestCase
|
||||
List<AssociationRef> targetAssocs = new ArrayList<AssociationRef>();
|
||||
List<AssociationRef> sourceAssocs = new ArrayList<AssociationRef>();
|
||||
|
||||
targetAssocs.add(new AssociationRef(new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "SA"),
|
||||
targetAssocs.add(new AssociationRef(null, new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "SA"),
|
||||
QName.createQName("{gsxhjsx}", "app:super"),
|
||||
new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "TA")));
|
||||
|
||||
|
||||
|
||||
sourceAssocs.add(new AssociationRef(new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "HH"),
|
||||
sourceAssocs.add(new AssociationRef(null, new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "HH"),
|
||||
QName.createQName("{gsxhjsx}", "app:super"),
|
||||
new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, "JJ")));
|
||||
|
||||
|
@@ -441,9 +441,9 @@ public class XMLTransferManifestReader extends DefaultHandler implements Content
|
||||
NodeRef target = (NodeRef)props.get("target");
|
||||
QName type = (QName) props.get("type");
|
||||
List<AssociationRef> assocs = (List<AssociationRef>)props.get("assocs");
|
||||
AssociationRef assoc = new AssociationRef(source, type, target);
|
||||
AssociationRef assoc = new AssociationRef(null, source, type, target);
|
||||
assocs.add(assoc);
|
||||
props.put("assoc", new AssociationRef(source, type, target));
|
||||
props.put("assoc", new AssociationRef(null, source, type, target));
|
||||
}
|
||||
else if(elementName.equals(ManifestModel.LOCALNAME_ELEMENT_PRIMARY_PATH))
|
||||
{
|
||||
|
Reference in New Issue
Block a user