Last analyzed d6ca518 2 days ago
Default analysis branch is
Currently analyzing run
Nullable parameters should be checked for null before use JAVA-E1067
Bug risk
8 days ago3 months old
future is accessed as if it is non-null, but is marked as @Nullable!
 48  /** Returns the current value or null if either not done or failed. */
 49  @SuppressWarnings("NullAway")
 50  static @Nullable <V> V getIfReady(@Nullable CompletableFuture<V> future) {
 51    return isReady(future) ? future.join() : null; 52  }
 54  /** Returns the value when completed successfully or null if failed. */