private boolean shouldConsume()

in src/main/java/com/googlesource/gerrit/plugins/replicationstatus/EventHandler.java [72:75]


  private boolean shouldConsume(Event event) {
    return (nodeInstanceId == null && event.instanceId == null)
        || (nodeInstanceId != null && nodeInstanceId.equals(event.instanceId));
  }