mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 15:49:26 +00:00
Add missing @Nullable in SettableListenableFuture
Closes gh-29150
This commit is contained in:
committed by
Sam Brannen
parent
c871758a51
commit
35d379f9d3
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user