Update headers.txt
This commit is contained in:
parent
93b01456e5
commit
73e2a15473
13
headers.txt
13
headers.txt
@ -16,13 +16,22 @@ public class TdApi {
|
|||||||
if (o == null) return false;
|
if (o == null) return false;
|
||||||
if (o == this) return true;
|
if (o == this) return true;
|
||||||
if (o instanceof Object) {
|
if (o instanceof Object) {
|
||||||
return Arrays.equals(this.serialize(), o.serialize());
|
try {
|
||||||
|
return Arrays.equals(this.serialize(), o.serialize());
|
||||||
|
} catch (IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Arrays.hashCode(this.serialize());
|
try {
|
||||||
|
return Arrays.hashCode(this.serialize());
|
||||||
|
} catch (IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract int getConstructor();
|
public abstract int getConstructor();
|
||||||
|
Loading…
Reference in New Issue
Block a user