[errorprone] Fix EqualsGetClass
See https://errorprone.info/bugpattern/EqualsGetClass Change-Id: Ida19a7e60656f87518e5ae2ef5eae511edb5b837
This commit is contained in:
parent
8c42901b54
commit
049782743e
|
@ -294,7 +294,7 @@ public boolean equals(Object obj) {
|
|||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null || getClass() != obj.getClass()) {
|
||||
if (!(obj instanceof LfsPointer)) {
|
||||
return false;
|
||||
}
|
||||
LfsPointer other = (LfsPointer) obj;
|
||||
|
|
Loading…
Reference in New Issue