Destination: Suppress FutureReturnValueIgnored warning

When all error prone warnings are enabled the FutureReturnValueIgnored
bug pattern is reported, for example:

  plugins/replication/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java:367:
  error: [FutureReturnValueIgnored] Return value of methods returning Future must be checked.
  Ignoring returned Futures suppresses exceptions thrown from the code that completes the Future.
        pool.schedule(e, now ? 0 : config.getDelay(), TimeUnit.SECONDS);
                     ^
    (see https://errorprone.info/bugpattern/FutureReturnValueIgnored)
  Did you mean to remove this line?

Change-Id: I43b5c3c9f9bf8cda5f2d4ee701b2153e7e6f2807
1 file changed
tree: b64846ed15043c02fbc947a4a24701f0f7c9aec6
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE