From 10aa110df818d2ccb1a41c6a5405a2757eadc6da Mon Sep 17 00:00:00 2001 From: Jerry Lee Date: Tue, 28 Nov 2023 13:14:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20simplify=20the=20type=20parameter?= =?UTF-8?q?=20of=20`CffuFactory.dummy`=20=E2=8C=A8=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java b/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java index 78057b19..741d2734 100644 --- a/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java +++ b/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java @@ -153,7 +153,7 @@ public CompletionStage failedStage(Throwable ex) { * a completed Cffu with the value {@code null} */ @Contract(pure = true) - private Cffu dummy() { + private Cffu dummy() { return completedFuture(null); }