@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final MatchResult other = (MatchResult) obj;
        if (this.points != other.points) {
            return false;
        }
        if (this.t1 != other.t1 && (this.t1 == null || !this.t1.equals(other.t1))) {
            return false;
        }
        if (this.t2 != other.t2 && (this.t2 == null || !this.t2.equals(other.t2))) {
            return false;
        }
        return true;
    }