Fixed a previous change to equals method rather than the != operator

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ray Gauss
2013-09-16 15:36:46 +00:00
parent aa73979bc9
commit 75a9b19b68

View File

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