squid:S1488 - Local Variables should not be declared and then immediately returned or thrown

This commit is contained in:
Mohammed Ezzat
2016-01-27 02:45:39 +02:00
parent 1a55f3a420
commit 4e40cc3888
4 changed files with 5 additions and 11 deletions

View File

@ -66,7 +66,6 @@ public class Customer {
@Override
public int hashCode() {
int result = getId();
return result;
return getId();
}
}