CLOUD-2165, CLOUD-2189: unable to save document via Sharepoint or WebDAV.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@58098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2013-11-21 18:04:16 +00:00
parent 200a140b33
commit 963b858b02
2 changed files with 111 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ public class LockUtils
case LOCK_EXPIRED:
return false;
case LOCK_OWNER:
return !lockService.getLockType(nodeRef).equals(LockType.WRITE_LOCK);
return lockService.getLockType(nodeRef) != LockType.WRITE_LOCK;
default:
return true;
}