mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 08:56:47 +00:00
Clear up warnings
This commit is contained in:
1 parent
bc1ac5a37f
commit
e4b9ae4eee
1 file changed
+4
-4
@@ -15,18 +15,18 @@ public class Pair<T1, T2> {
|
||||
this.v2 = v2;
|
||||
}
|
||||
|
||||
public T1 first(){
|
||||
public T1 first() {
|
||||
return v1;
|
||||
}
|
||||
|
||||
public T2 second(){
|
||||
public T2 second() {
|
||||
return v2;
|
||||
}
|
||||
|
||||
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() {
|
||||
|
||||
Reference in new issue
Block a user