@@ -41,7 +41,7 @@ public <U> CompletionStage<U> thenApply(Function<? super T, ? extends U> fn) {
4141 }
4242
4343 public <U > CompletionStage <U > thenApplyAsync (Function <? super T , ? extends U > fn ) {
44- return wrap ( delegate . thenApplyAsync (fn , defaultExecutor ) );
44+ return thenApplyAsync (fn , defaultExecutor );
4545 }
4646
4747 public <U > CompletionStage <U > thenApplyAsync (Function <? super T , ? extends U > fn , Executor executor ) {
@@ -53,7 +53,7 @@ public CompletionStage<Void> thenAccept(Consumer<? super T> action) {
5353 }
5454
5555 public CompletionStage <Void > thenAcceptAsync (Consumer <? super T > action ) {
56- return wrap ( delegate . thenAcceptAsync (action , defaultExecutor ) );
56+ return thenAcceptAsync (action , defaultExecutor );
5757 }
5858
5959 public CompletionStage <Void > thenAcceptAsync (Consumer <? super T > action , Executor executor ) {
@@ -65,7 +65,7 @@ public CompletionStage<Void> thenRun(Runnable action) {
6565 }
6666
6767 public CompletionStage <Void > thenRunAsync (Runnable action ) {
68- return wrap ( delegate . thenRunAsync (action , defaultExecutor ) );
68+ return thenRunAsync (action , defaultExecutor );
6969 }
7070
7171 public CompletionStage <Void > thenRunAsync (Runnable action , Executor executor ) {
@@ -77,7 +77,7 @@ public <U, V> CompletionStage<V> thenCombine(CompletionStage<? extends U> other,
7777 }
7878
7979 public <U , V > CompletionStage <V > thenCombineAsync (CompletionStage <? extends U > other , BiFunction <? super T , ? super U , ? extends V > fn ) {
80- return wrap ( delegate . thenCombineAsync (other , fn , defaultExecutor ) );
80+ return thenCombineAsync (other , fn , defaultExecutor );
8181 }
8282
8383 public <U , V > CompletionStage <V > thenCombineAsync (CompletionStage <? extends U > other ,
@@ -92,7 +92,7 @@ public <U> CompletionStage<Void> thenAcceptBoth(CompletionStage<? extends U> oth
9292 }
9393
9494 public <U > CompletionStage <Void > thenAcceptBothAsync (CompletionStage <? extends U > other , BiConsumer <? super T , ? super U > action ) {
95- return wrap ( delegate . thenAcceptBothAsync (other , action , defaultExecutor ) );
95+ return thenAcceptBothAsync (other , action , defaultExecutor );
9696 }
9797
9898 public <U > CompletionStage <Void > thenAcceptBothAsync (CompletionStage <? extends U > other ,
@@ -107,7 +107,7 @@ public CompletionStage<Void> runAfterBoth(CompletionStage<?> other, Runnable act
107107 }
108108
109109 public CompletionStage <Void > runAfterBothAsync (CompletionStage <?> other , Runnable action ) {
110- return wrap ( delegate . runAfterBothAsync (other , action , defaultExecutor ) );
110+ return runAfterBothAsync (other , action , defaultExecutor );
111111 }
112112
113113 public CompletionStage <Void > runAfterBothAsync (CompletionStage <?> other ,
@@ -121,7 +121,7 @@ public <U> CompletionStage<U> applyToEither(CompletionStage<? extends T> other,
121121 }
122122
123123 public <U > CompletionStage <U > applyToEitherAsync (CompletionStage <? extends T > other , Function <? super T , U > fn ) {
124- return wrap ( delegate . applyToEitherAsync (other , fn , defaultExecutor ) );
124+ return applyToEitherAsync (other , fn , defaultExecutor );
125125 }
126126
127127 public <U > CompletionStage <U > applyToEitherAsync (CompletionStage <? extends T > other ,
@@ -136,7 +136,7 @@ public CompletionStage<Void> acceptEither(CompletionStage<? extends T> other, Co
136136 }
137137
138138 public CompletionStage <Void > acceptEitherAsync (CompletionStage <? extends T > other , Consumer <? super T > action ) {
139- return wrap ( delegate . acceptEitherAsync (other , action , defaultExecutor ) );
139+ return acceptEitherAsync (other , action , defaultExecutor );
140140 }
141141
142142 public CompletionStage <Void > acceptEitherAsync (CompletionStage <? extends T > other ,
@@ -151,7 +151,7 @@ public CompletionStage<Void> runAfterEither(CompletionStage<?> other, Runnable a
151151 }
152152
153153 public CompletionStage <Void > runAfterEitherAsync (CompletionStage <?> other , Runnable action ) {
154- return wrap ( delegate . runAfterEitherAsync (other , action , defaultExecutor ) );
154+ return runAfterEitherAsync (other , action , defaultExecutor );
155155 }
156156
157157 public CompletionStage <Void > runAfterEitherAsync (CompletionStage <?> other ,
@@ -165,7 +165,7 @@ public <U> CompletionStage<U> thenCompose(Function<? super T, ? extends Completi
165165 }
166166
167167 public <U > CompletionStage <U > thenComposeAsync (Function <? super T , ? extends CompletionStage <U >> fn ) {
168- return wrap ( delegate . thenComposeAsync (fn , defaultExecutor ) );
168+ return thenComposeAsync (fn , defaultExecutor );
169169 }
170170
171171 public <U > CompletionStage <U > thenComposeAsync (Function <? super T , ? extends CompletionStage <U >> fn , Executor executor ) {
@@ -181,7 +181,7 @@ public CompletionStage<T> whenComplete(BiConsumer<? super T, ? super Throwable>
181181 }
182182
183183 public CompletionStage <T > whenCompleteAsync (BiConsumer <? super T , ? super Throwable > action ) {
184- return wrap ( delegate . whenCompleteAsync (action , defaultExecutor ) );
184+ return whenCompleteAsync (action , defaultExecutor );
185185 }
186186
187187 public CompletionStage <T > whenCompleteAsync (BiConsumer <? super T , ? super Throwable > action , Executor executor ) {
@@ -193,7 +193,7 @@ public <U> CompletionStage<U> handle(BiFunction<? super T, Throwable, ? extends
193193 }
194194
195195 public <U > CompletionStage <U > handleAsync (BiFunction <? super T , Throwable , ? extends U > fn ) {
196- return wrap ( delegate . handleAsync (fn , defaultExecutor ) );
196+ return handleAsync (fn , defaultExecutor );
197197 }
198198
199199 public <U > CompletionStage <U > handleAsync (BiFunction <? super T , Throwable , ? extends U > fn , Executor executor ) {
0 commit comments