Browse Source

Add missing @Nullable in SettableListenableFuture

Closes gh-29150
pull/30296/head
Jens Dietrich 4 years ago committed by Sam Brannen
parent
commit
35d379f9d3
  1. 2
      spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java

2
spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java

@ -114,7 +114,7 @@ public class SettableListenableFuture<T> implements ListenableFuture<T> { @@ -114,7 +114,7 @@ public class SettableListenableFuture<T> implements ListenableFuture<T> {
* {@link java.util.concurrent.CancellationException} if the future has been cancelled.
* @return the value associated with this future
*/
@Override
@Override @Nullable
public T get() throws InterruptedException, ExecutionException {
return this.settableTask.get();
}

Loading…
Cancel
Save