commit | 687027a3f84e9d252b6970f953018da14006397c | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Tue Jan 11 17:28:46 2022 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Tue Jan 11 17:30:43 2022 +0100 |
tree | 6f4128a7e1c9b66ec187317e1b1fb2c92abff558 | |
parent | 400b38ad2f60ca617e144bb872a57aa4c96fca4d [diff] |
Suppress deprecation warning for using targetNode when comparing events As long as the targetNode field still exists it should be taken into account when comparing events. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I48eea8f7bfaf2763821ba37ab05cd61c7f2829d7
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java b/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java index 4cd55f9..b32829c 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java +++ b/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java
@@ -384,6 +384,7 @@ } } + @SuppressWarnings("deprecation") private boolean equals(ReplicationScheduledEvent scheduledEvent, Object other) { if (!(other instanceof ReplicationScheduledEvent)) { return false;