Merge 3.1 to HEAD:

14099 Repository filesystem handles file sharing mode options on file create/open calls. ETHREEOH-1954


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2009-04-28 15:46:56 +00:00
parent e1d365e545
commit 1cf01544d8
2 changed files with 93 additions and 31 deletions

View File

@@ -77,7 +77,7 @@ public class FileState
// Sharing mode
private int m_sharedAccess = SharingMode.READWRITE;
private int m_sharedAccess = SharingMode.READWRITE + SharingMode.DELETE;
// File lock list, allocated once there are active locks on this file
@@ -716,6 +716,9 @@ public class FileState
else
str.append("Null");
str.append(",Shr=0x");
str.append(Integer.toHexString(getSharedAccess()));
if ( isDirectory())
{
str.append(",Pseudo=");