mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AVM nodes get a useful version id.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -232,7 +232,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
{
|
||||
newDir = new PlainDirectoryNodeImpl(this);
|
||||
}
|
||||
newDir.setVersionID(getNextVersionID());
|
||||
// newDir.setVersionID(getNextVersionID());
|
||||
if (child != null)
|
||||
{
|
||||
newDir.setAncestor(child);
|
||||
@@ -282,7 +282,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
}
|
||||
dir.updateModTime();
|
||||
dir.putChild(name, newDir);
|
||||
newDir.setVersionID(getNextVersionID());
|
||||
// newDir.setVersionID(getNextVersionID());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -305,7 +305,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
throw new AVMExistsException("Child exists: " + name);
|
||||
}
|
||||
PlainFileNodeImpl file = new PlainFileNodeImpl(this);
|
||||
file.setVersionID(getNextVersionID());
|
||||
// file.setVersionID(getNextVersionID());
|
||||
dir.updateModTime();
|
||||
dir.putChild(name, file);
|
||||
if (child != null)
|
||||
@@ -340,7 +340,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
throw new AVMExistsException("Child exists: " + name);
|
||||
}
|
||||
PlainFileNodeImpl file = new PlainFileNodeImpl(this);
|
||||
file.setVersionID(getNextVersionID());
|
||||
// file.setVersionID(getNextVersionID());
|
||||
dir.updateModTime();
|
||||
dir.putChild(name, file);
|
||||
if (child != null)
|
||||
@@ -383,7 +383,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
}
|
||||
dir.updateModTime();
|
||||
dir.putChild(name, newFile);
|
||||
newFile.setVersionID(getNextVersionID());
|
||||
// newFile.setVersionID(getNextVersionID());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user