mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 18:59:10 +00:00
squid:S1488 - Local Variables should not be declared and then immediately returned or thrown
This commit is contained in:
@@ -66,7 +66,6 @@ public class Customer {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = getId();
|
||||
return result;
|
||||
return getId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user