Skip to content

Commit bfe8d1c

Browse files
committed
Code style fixes
1 parent 597f755 commit bfe8d1c

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

src/main/java/net/tascalate/concurrent/Promise.java

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,44 +161,48 @@ default DependentPromise<T> dependent() {
161161
<U, V> Promise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T, ? super U, ? extends V> fn);
162162

163163
<U, V> Promise<V> thenCombineAsync(CompletionStage<? extends U> other,
164-
BiFunction<? super T, ? super U, ? extends V> fn,
165-
Executor executor);
164+
BiFunction<? super T, ? super U, ? extends V> fn,
165+
Executor executor);
166166

167167
<U> Promise<Void> thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action);
168168

169169
<U> Promise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action);
170170

171171
<U> Promise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other,
172-
BiConsumer<? super T, ? super U> action,
173-
Executor executor);
172+
BiConsumer<? super T, ? super U> action,
173+
Executor executor);
174174

175175
Promise<Void> runAfterBoth(CompletionStage<?> other, Runnable action);
176176

177177
Promise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action);
178178

179-
Promise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor);
179+
Promise<Void> runAfterBothAsync(CompletionStage<?> other,
180+
Runnable action,
181+
Executor executor);
180182

181183
<U> Promise<U> applyToEither(CompletionStage<? extends T> other, Function<? super T, U> fn);
182184

183185
<U> Promise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T, U> fn);
184186

185187
<U> Promise<U> applyToEitherAsync(CompletionStage<? extends T> other,
186-
Function<? super T, U> fn,
187-
Executor executor);
188+
Function<? super T, U> fn,
189+
Executor executor);
188190

189191
Promise<Void> acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action);
190192

191193
Promise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action);
192194

193195
Promise<Void> acceptEitherAsync(CompletionStage<? extends T> other,
194-
Consumer<? super T> action,
195-
Executor executor);
196+
Consumer<? super T> action,
197+
Executor executor);
196198

197199
Promise<Void> runAfterEither(CompletionStage<?> other, Runnable action);
198200

199201
Promise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action);
200202

201-
Promise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor);
203+
Promise<Void> runAfterEitherAsync(CompletionStage<?> other,
204+
Runnable action,
205+
Executor executor);
202206

203207
<U> Promise<U> thenCompose(Function<? super T, ? extends CompletionStage<U>> fn);
204208

0 commit comments

Comments
 (0)