mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Add missing hashCode() method to SearchCondition
This commit is contained in:
parent
e45d780c6f
commit
928c7f33a3
@ -138,6 +138,16 @@ public interface SearchSpecification extends Parcelable {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
int result = 1;
|
||||||
|
result = 31 * result + attribute.hashCode();
|
||||||
|
result = 31 * result + field.hashCode();
|
||||||
|
result = 31 * result + value.hashCode();
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int describeContents() {
|
public int describeContents() {
|
||||||
return 0;
|
return 0;
|
||||||
@ -164,4 +174,4 @@ public interface SearchSpecification extends Parcelable {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user