Rewrite function for resolving competitor name
This commit is contained in:
parent
25068543ad
commit
5e93294c38
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class MyCompetitor implements Comparable<MyCompetitor> {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hashCode = 13;
|
||||
hashCode += name.hashCode();
|
||||
hashCode += getName().hashCode();
|
||||
hashCode *= 17;
|
||||
return hashCode + rank;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue