While solving sonarQube issue i face the below warning,does any one tell me how to overcome this warning
Method:-
@Override public boolean equals
Try something like this:
return null != obj && this == obj || getClass() == obj.getClass() && this.divisionId == ((Division) obj).divisionId;