PostTask: Suppress FutureReturnValueIgnored warning

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

  plugins/webhooks/src/main/java/com/googlesource/gerrit/plugins/webhooks/PostTask.java:65:
  error: [FutureReturnValueIgnored] Return value of methods returning Future must be checked.
  Ignoring returned Futures suppresses exceptions thrown from the code that completes the Future.
    executor.schedule(this, remote.getRetryInterval(), TimeUnit.MILLISECONDS);
                     ^
    (see https://errorprone.info/bugpattern/FutureReturnValueIgnored)
  Did you mean to remove this line?

Change-Id: I4a23be8ad83d6362b6b30b4ed8f0041e19b830a2
1 file changed
tree: 395abda9e292d9fa650e1b26dcdb27addaa7750c
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. src/