Keep fixing user issues.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user