SONARJAVA-303 Rule: "equals(Object obj)" should be overridden as soon as method "compareTo(T obj)" is defined