Replace all User.equals for Collaborator.identityEquality

This commit is contained in:
Paulo Gustavo Veiga
2012-11-14 20:35:09 -03:00
parent 596aeeebc4
commit 6560973237
3 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ class LockManagerImpl implements LockManager {
}
final LockInfo result = this.getLockInfo(mindmap);
if (!result.getUser().equals(user)) {
if (!result.getUser().identityEquality(user)) {
throw new IllegalStateException("Could not update map lock timeout if you are not the locking user. User:" + result.getUser() + ", " + user);
}