Keep fixing user issues.

This commit is contained in:
Paulo Gustavo Veiga
2012-11-14 20:33:42 -03:00
parent 16e59a0879
commit 596aeeebc4
7 changed files with 11 additions and 10 deletions

View File

@@ -101,7 +101,7 @@ class LockManagerImpl implements LockManager {
public boolean isLockedBy(@NotNull Mindmap mindmap, @NotNull User collaborator) {
boolean result = false;
final LockInfo lockInfo = this.getLockInfo(mindmap);
if (lockInfo != null && lockInfo.getUser().equalCollab(collaborator)) {
if (lockInfo != null && lockInfo.getUser().identityEquality(collaborator)) {
result = true;
}
return result;