mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user