mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[build] Upgrade to PMD 7.2.0 (#6718)
This commit is contained in:
@@ -71,12 +71,10 @@ public class Pair<A, B> {
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
return obj instanceof Pair<?, ?> other
|
||||
&& Objects.equals(m_first, other.getFirst())
|
||||
&& Objects.equals(m_second, other.getSecond());
|
||||
return obj == this
|
||||
|| obj instanceof Pair<?, ?> other
|
||||
&& Objects.equals(m_first, other.getFirst())
|
||||
&& Objects.equals(m_second, other.getSecond());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user