Clear up warnings
This commit is contained in:
parent
bc1ac5a37f
commit
e4b9ae4eee
|
@ -25,8 +25,8 @@ public class Pair<T1, T2> {
|
|||
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof Pair &&
|
||||
equal(((Pair) o).first(), first()) &&
|
||||
equal(((Pair) o).second(), second());
|
||||
equal(((Pair<?, ?>) o).first(), first()) &&
|
||||
equal(((Pair<?, ?>) o).second(), second());
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
|
|
Loading…
Reference in New Issue