commit | 9c9eb824a1109252603e5b16e5d1e72b225d3b45 | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Thu Mar 28 16:03:55 2019 +0100 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Thu Mar 28 16:03:55 2019 +0100 |
tree | 75208af14b32bc502e01114c052ffbbe2e42c81d | |
parent | 548bbdf7e6ae0d782b4876c7f23f763ed9f2b08c [diff] |
CheckInput: fix equals() method Change-Id: I4426d091a667792aee389d5c4561595f5f0f5bee
diff --git a/java/com/google/gerrit/plugins/checks/api/CheckInput.java b/java/com/google/gerrit/plugins/checks/api/CheckInput.java index 5d1d970..31d8a35 100644 --- a/java/com/google/gerrit/plugins/checks/api/CheckInput.java +++ b/java/com/google/gerrit/plugins/checks/api/CheckInput.java
@@ -34,10 +34,10 @@ @Override public boolean equals(Object o) { - if (!(o instanceof CheckInfo)) { + if (!(o instanceof CheckInput)) { return false; } - CheckInfo other = (CheckInfo) o; + CheckInput other = (CheckInput) o; return Objects.equals(other.checkerUuid, checkerUuid) && Objects.equals(other.state, state) && Objects.equals(other.url, url)