private static Collection deduplicateGlobal()

in src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/BlockedThreadsConfigurator.java [112:119]


  private static Collection<Threshold> deduplicateGlobal(List<Threshold> input) {
    if (input.size() > 1) {
      Threshold spec = input.get(input.size() - 1);
      log.warn("Multiple threshold values were configured. Using {}", spec);
      return ImmutableSet.of(spec);
    }
    return input;
  }