Skip to content

Commit bcef61b

Browse files
committed
Fix signature in ComposedFutureRef
1 parent 23d9165 commit bcef61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/tascalate/concurrent/ComposedFutureRef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class ComposedFutureRef<U> extends AtomicReference<CompletionStage<U>> {
2323
private static final long serialVersionUID = 1L;
2424

25-
<T> Function<? super T, ? extends CompletionStage<U>> captureResult(Function<? super T, ? extends CompletionStage<U>> fn) {
25+
<T> Function<T, CompletionStage<U>> captureResult(Function<? super T, ? extends CompletionStage<U>> fn) {
2626
return v -> {
2727
CompletionStage<U> result = fn.apply(v);
2828
set(result);

0 commit comments

Comments
 (0)