Skip to content

Commit 35d379f

Browse files
jensdietrichsbrannen
authored andcommitted
Add missing @nullable in SettableListenableFuture
Closes gh-29150
1 parent c871758 commit 35d379f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public boolean isDone() {
114114
* {@link java.util.concurrent.CancellationException} if the future has been cancelled.
115115
* @return the value associated with this future
116116
*/
117-
@Override
117+
@Override @Nullable
118118
public T get() throws InterruptedException, ExecutionException {
119119
return this.settableTask.get();
120120
}

0 commit comments

Comments
 (0)