@@ -36,142 +36,175 @@ protected <U> CompletionStage<U> wrap(CompletionStage<U> original) {
3636 return new ExecutorBoundCompletionStage <>(original , defaultExecutor );
3737 }
3838
39+ @ Override
3940 public <U > CompletionStage <U > thenApply (Function <? super T , ? extends U > fn ) {
4041 return wrap (delegate .thenApply (fn ));
4142 }
4243
44+ @ Override
4345 public <U > CompletionStage <U > thenApplyAsync (Function <? super T , ? extends U > fn ) {
4446 return thenApplyAsync (fn , defaultExecutor );
4547 }
4648
49+ @ Override
4750 public <U > CompletionStage <U > thenApplyAsync (Function <? super T , ? extends U > fn , Executor executor ) {
4851 return wrap (delegate .thenApplyAsync (fn , executor ));
4952 }
5053
54+ @ Override
5155 public CompletionStage <Void > thenAccept (Consumer <? super T > action ) {
5256 return wrap (delegate .thenAccept (action ));
5357 }
5458
59+ @ Override
5560 public CompletionStage <Void > thenAcceptAsync (Consumer <? super T > action ) {
5661 return thenAcceptAsync (action , defaultExecutor );
5762 }
5863
64+ @ Override
5965 public CompletionStage <Void > thenAcceptAsync (Consumer <? super T > action , Executor executor ) {
6066 return wrap (delegate .thenAcceptAsync (action , executor ));
6167 }
6268
69+ @ Override
6370 public CompletionStage <Void > thenRun (Runnable action ) {
6471 return wrap (delegate .thenRun (action ));
6572 }
6673
74+ @ Override
6775 public CompletionStage <Void > thenRunAsync (Runnable action ) {
6876 return thenRunAsync (action , defaultExecutor );
6977 }
7078
79+ @ Override
7180 public CompletionStage <Void > thenRunAsync (Runnable action , Executor executor ) {
7281 return wrap (delegate .thenRunAsync (action , executor ));
7382 }
7483
84+ @ Override
7585 public <U , V > CompletionStage <V > thenCombine (CompletionStage <? extends U > other , BiFunction <? super T , ? super U , ? extends V > fn ) {
7686 return wrap (delegate .thenCombine (other , fn ));
7787 }
7888
89+ @ Override
7990 public <U , V > CompletionStage <V > thenCombineAsync (CompletionStage <? extends U > other , BiFunction <? super T , ? super U , ? extends V > fn ) {
8091 return thenCombineAsync (other , fn , defaultExecutor );
8192 }
8293
94+ @ Override
8395 public <U , V > CompletionStage <V > thenCombineAsync (CompletionStage <? extends U > other ,
84- BiFunction <? super T , ? super U , ? extends V > fn ,
85- Executor executor ) {
96+ BiFunction <? super T , ? super U , ? extends V > fn ,
97+ Executor executor ) {
8698
8799 return wrap (delegate .thenCombineAsync (other , fn , executor ));
88100 }
89101
90- public <U > CompletionStage <Void > thenAcceptBoth (CompletionStage <? extends U > other , BiConsumer <? super T , ? super U > action ) {
102+ @ Override
103+ public <U > CompletionStage <Void > thenAcceptBoth (CompletionStage <? extends U > other ,
104+ BiConsumer <? super T , ? super U > action ) {
91105 return wrap (delegate .thenAcceptBoth (other , action ));
92106 }
93107
94- public <U > CompletionStage <Void > thenAcceptBothAsync (CompletionStage <? extends U > other , BiConsumer <? super T , ? super U > action ) {
108+ @ Override
109+ public <U > CompletionStage <Void > thenAcceptBothAsync (CompletionStage <? extends U > other ,
110+ BiConsumer <? super T , ? super U > action ) {
95111 return thenAcceptBothAsync (other , action , defaultExecutor );
96112 }
97113
114+ @ Override
98115 public <U > CompletionStage <Void > thenAcceptBothAsync (CompletionStage <? extends U > other ,
99- BiConsumer <? super T , ? super U > action ,
100- Executor executor ) {
116+ BiConsumer <? super T , ? super U > action ,
117+ Executor executor ) {
101118
102119 return wrap (delegate .thenAcceptBothAsync (other , action , executor ));
103120 }
104121
122+ @ Override
105123 public CompletionStage <Void > runAfterBoth (CompletionStage <?> other , Runnable action ) {
106124 return wrap (delegate .runAfterBoth (other , action ));
107125 }
108126
127+ @ Override
109128 public CompletionStage <Void > runAfterBothAsync (CompletionStage <?> other , Runnable action ) {
110129 return runAfterBothAsync (other , action , defaultExecutor );
111130 }
112131
132+ @ Override
113133 public CompletionStage <Void > runAfterBothAsync (CompletionStage <?> other ,
114- Runnable action ,
115- Executor executor ) {
134+ Runnable action ,
135+ Executor executor ) {
116136 return wrap (delegate .runAfterBothAsync (other , action , executor ));
117137 }
118138
139+ @ Override
119140 public <U > CompletionStage <U > applyToEither (CompletionStage <? extends T > other , Function <? super T , U > fn ) {
120141 return wrap (delegate .applyToEither (other , fn ));
121142 }
122143
144+ @ Override
123145 public <U > CompletionStage <U > applyToEitherAsync (CompletionStage <? extends T > other , Function <? super T , U > fn ) {
124146 return applyToEitherAsync (other , fn , defaultExecutor );
125147 }
126148
149+ @ Override
127150 public <U > CompletionStage <U > applyToEitherAsync (CompletionStage <? extends T > other ,
128- Function <? super T , U > fn ,
129- Executor executor ) {
151+ Function <? super T , U > fn ,
152+ Executor executor ) {
130153
131154 return wrap (delegate .applyToEitherAsync (other , fn , executor ));
132155 }
133156
157+ @ Override
134158 public CompletionStage <Void > acceptEither (CompletionStage <? extends T > other , Consumer <? super T > action ) {
135159 return wrap (delegate .acceptEither (other , action ));
136160 }
137161
162+ @ Override
138163 public CompletionStage <Void > acceptEitherAsync (CompletionStage <? extends T > other , Consumer <? super T > action ) {
139164 return acceptEitherAsync (other , action , defaultExecutor );
140165 }
141166
167+ @ Override
142168 public CompletionStage <Void > acceptEitherAsync (CompletionStage <? extends T > other ,
143- Consumer <? super T > action ,
144- Executor executor ) {
169+ Consumer <? super T > action ,
170+ Executor executor ) {
145171
146172 return wrap (delegate .acceptEitherAsync (other , action , executor ));
147173 }
148174
175+ @ Override
149176 public CompletionStage <Void > runAfterEither (CompletionStage <?> other , Runnable action ) {
150177 return wrap (delegate .runAfterEither (other , action ));
151178 }
152179
180+ @ Override
153181 public CompletionStage <Void > runAfterEitherAsync (CompletionStage <?> other , Runnable action ) {
154182 return runAfterEitherAsync (other , action , defaultExecutor );
155183 }
156184
185+ @ Override
157186 public CompletionStage <Void > runAfterEitherAsync (CompletionStage <?> other ,
158- Runnable action ,
159- Executor executor ) {
187+ Runnable action ,
188+ Executor executor ) {
160189 return wrap (delegate .runAfterEitherAsync (other , action , executor ));
161190 }
162191
192+ @ Override
163193 public <U > CompletionStage <U > thenCompose (Function <? super T , ? extends CompletionStage <U >> fn ) {
164194 return wrap (delegate .thenCompose (fn ));
165195 }
166196
197+ @ Override
167198 public <U > CompletionStage <U > thenComposeAsync (Function <? super T , ? extends CompletionStage <U >> fn ) {
168199 return thenComposeAsync (fn , defaultExecutor );
169200 }
170201
202+ @ Override
171203 public <U > CompletionStage <U > thenComposeAsync (Function <? super T , ? extends CompletionStage <U >> fn , Executor executor ) {
172204 return wrap (delegate .thenComposeAsync (fn , executor ));
173205 }
174206
207+ @ Override
175208 public CompletionStage <T > exceptionally (Function <Throwable , ? extends T > fn ) {
176209 return wrap (delegate .exceptionally (fn ));
177210 }
0 commit comments