Rewrite function for resolving competitor name

This commit is contained in:
Manuel Thalmann 2022-11-15 16:35:28 +01:00
parent 25068543ad
commit 5e93294c38

View file

@ -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;
}