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

@@ -97,7 +97,7 @@ public class Collaborator implements Serializable {
}
public boolean equalCollab(@Nullable Collaborator that) {
public boolean identityEquality(@Nullable Collaborator that) {
if (this == that) return true;
if (that == null) return false;

View File

@@ -112,7 +112,7 @@ public class Mindmap {
public Collaboration findCollaboration(@NotNull Collaborator collaborator) {
Collaboration result = null;
for (Collaboration collaboration : collaborations) {
if (collaboration.getCollaborator().equalCollab(collaborator)) {
if (collaboration.getCollaborator().identityEquality(collaborator)) {
result = collaboration;
break;
}