mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Some more modification to make things more Spring friendly. Updated
Spring configurations to match. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,6 +56,7 @@ abstract class DirectoryNodeImpl extends AVMNodeImpl implements DirectoryNode
|
||||
@SuppressWarnings("unchecked")
|
||||
protected ChildEntry getChild(String name, boolean write)
|
||||
{
|
||||
// TODO This may be very Dangerous!
|
||||
Session sess = SuperRepository.GetInstance().getSession();
|
||||
ChildEntry entry = (ChildEntry)sess.get(ChildEntryImpl.class, new ChildEntryImpl(name, this, null),
|
||||
(write && getIsNew()) ? LockMode.UPGRADE : LockMode.READ);
|
||||
|
Reference in New Issue
Block a user