Skip to content

Commit

Permalink
refactor: simplify the type parameter of CffuFactory.dummy ⌨️
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Nov 28, 2023
1 parent 25af96c commit 10aa110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public <T> CompletionStage<T> failedStage(Throwable ex) {
* a completed Cffu with the value {@code null}
*/
@Contract(pure = true)
private <T> Cffu<T> dummy() {
private Cffu<Void> dummy() {
return completedFuture(null);
}

Expand Down

0 comments on commit 10aa110

Please sign in to comment.