Findbugs:RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 使用 ExecutorService

Findbugs: RV_RETURN_VALUE_IGNORED_BAD_PRACTICE using ExecutorService

我正在使用 Findbugs,我收到 RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 下一个错误,这是我的代码:

ExecutorService executor = Executors.newSingleThreadExecutor();
      try {
        executor.submit(() -> {
          LOGGER.info(
              ".............",
              Some Code.....
        });
        executor.shutdown();
        executor.awaitTermination(5, TimeUnit.SECONDS);
      }
      catch (InterruptedException e) {
        LOGGER.info(".........);
      }
      finally {
        if (!executor.isTerminated()) {
          LOGGER.info(.....);
        }
        executor.shutdownNow();
        LOGGER.info(.........);
      }

问题在行中:executor.submit(() -> {

有什么想法吗?

如果实在不在乎执行结果,应该用executor.execute(()-> {LOGGER.info(...)});代替。