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