Remove single use local var
This commit is contained in:
parent
d839a82521
commit
bea5bd3c0a
|
@ -187,8 +187,7 @@ public class EqualsBuilder implements Builder<Boolean> {
|
|||
private static void unregister(final Object lhs, final Object rhs) {
|
||||
final Set<Pair<IDKey, IDKey>> registry = getRegistry();
|
||||
if (registry != null) {
|
||||
final Pair<IDKey, IDKey> pair = getRegisterPair(lhs, rhs);
|
||||
registry.remove(pair);
|
||||
registry.remove(getRegisterPair(lhs, rhs));
|
||||
if (registry.isEmpty()) {
|
||||
REGISTRY.remove();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue