mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Smarten up deployment to filesystem.
- Deploying to a filesystem implicitly snapshots the source store. This allows shortcutting the tree comparison for directories, because guids on directories act as a deep modification indicator if deployments are always from snapshots. Doh! - I'll do this for alfresco -> alfresco deployment too. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -233,7 +233,6 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
}
|
||||
parent.putChild(parentName[1], newChild);
|
||||
}
|
||||
// AVMDAOs.Instance().fVersionLayeredNodeEntryDAO.delete(lastVersion);
|
||||
// Clear out the new nodes.
|
||||
List<AVMNode> newInRep = AVMDAOs.Instance().fAVMNodeDAO.getNewInStore(this);
|
||||
List<AVMNode> layeredNodes = new ArrayList<AVMNode>();
|
||||
@@ -950,7 +949,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return fName.equals(((AVMStore)obj).getName());
|
||||
return fID == ((AVMStore)obj).getId();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -960,7 +959,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
return fName.hashCode();
|
||||
return (int)fID;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user