diff --git a/cffu-core/src/main/java/io/foldright/cffu/Cffu.java b/cffu-core/src/main/java/io/foldright/cffu/Cffu.java index fd9d3387..7ca3345c 100644 --- a/cffu-core/src/main/java/io/foldright/cffu/Cffu.java +++ b/cffu-core/src/main/java/io/foldright/cffu/Cffu.java @@ -228,7 +228,6 @@ public Cffu thenRunAsync(Runnable action, Executor executor) { * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyFastFailAsync( Function fn1, Function fn2) { return reset0(CompletableFutureUtils.thenTupleMApplyFastFailAsync(cf, fn1, fn2)); @@ -246,7 +245,6 @@ public Cffu> thenTupleMApplyFastFailAsync( * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyFastFailAsync( Function fn1, Function fn2, Function fn3) { @@ -265,7 +263,6 @@ public Cffu> thenTupleMApplyFastFailAsync( * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyFastFailAsync( Function fn1, Function fn2, Function fn3, Function fn4) { @@ -284,7 +281,6 @@ public Cffu> thenTupleMApplyFastFailAsyn * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyFastFailAsync( Function fn1, Function fn2, Function fn3, Function fn4, @@ -301,7 +297,6 @@ public Cffu> thenTupleMApplyFast * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyAsync( Function fn1, Function fn2) { return reset0(CompletableFutureUtils.thenTupleMApplyAsync(cf, fn1, fn2)); @@ -316,7 +311,6 @@ public Cffu> thenTupleMApplyAsync( * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyAsync( Function fn1, Function fn2, Function fn3) { @@ -332,7 +326,6 @@ public Cffu> thenTupleMApplyAsync( * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyAsync( Function fn1, Function fn2, Function fn3, Function fn4) { @@ -348,7 +341,6 @@ public Cffu> thenTupleMApplyAsync( * * @return the new Cffu */ - @Contract(pure = true) public Cffu> thenTupleMApplyAsync( Function fn1, Function fn2, Function fn3, Function fn4, 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 67c4b806..dec5edf8 100644 --- a/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java +++ b/cffu-core/src/main/java/io/foldright/cffu/CffuFactory.java @@ -163,7 +163,6 @@ public Cffu runAsync(Runnable action, Executor executor) { * @return the new Cffu * @see #allResultsOfFastFail(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyFastFailAsync( Supplier supplier1, Supplier supplier2) { return create(CompletableFutureUtils.tupleMSupplyFastFailAsync(supplier1, supplier2)); @@ -179,7 +178,6 @@ public Cffu> tupleMSupplyFastFailAsync( * @return the new Cffu * @see #allResultsOfFastFail(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyFastFailAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3) { return create(CompletableFutureUtils.tupleMSupplyFastFailAsync(supplier1, supplier2, supplier3)); @@ -195,7 +193,6 @@ public Cffu> tupleMSupplyFastFailAsync( * @return the new Cffu * @see #allResultsOfFastFail(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyFastFailAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3, Supplier supplier4) { @@ -212,7 +209,6 @@ public Cffu> tupleMSupplyFastFailAsync( * @return the new Cffu * @see #allResultsOfFastFail(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyFastFailAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3, Supplier supplier4, Supplier supplier5) { @@ -287,7 +283,6 @@ public Cffu> tupleMSupplyMostSuccessAsyn * @return the new Cffu * @see #allResultsOf(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyAsync( Supplier supplier1, Supplier supplier2) { return create(CompletableFutureUtils.tupleMSupplyAsync(supplier1, supplier2)); @@ -301,7 +296,6 @@ public Cffu> tupleMSupplyAsync( * @return the new Cffu * @see #allResultsOf(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3) { return create(CompletableFutureUtils.tupleMSupplyAsync(supplier1, supplier2, supplier3)); @@ -315,7 +309,6 @@ public Cffu> tupleMSupplyAsync( * @return the new Cffu * @see #allResultsOf(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3, Supplier supplier4) { @@ -330,7 +323,6 @@ public Cffu> tupleMSupplyAsync( * @return the new Cffu * @see #allResultsOf(CompletionStage[]) */ - @Contract(pure = true) public Cffu> tupleMSupplyAsync( Supplier supplier1, Supplier supplier2, Supplier supplier3, Supplier supplier4, Supplier supplier5) {