While solving sonarQube issue i face the below warning,does any one tell me how to overcome this warning
Method:-
@Override public boolean equals
This must work :
return this == obj ? true : obj == null ? false : getClass() != obj.getClass() ? false : divisionId != ((Division)obj).divisionId ? false : true