Committed by
Gerrit Code Review
Remove explicit use of method reference
Change-Id: Idb08d28d66b4285a738b2bf98e1c61882d179da1
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -128,7 +128,7 @@ public class AtomixWorkQueue extends AbstractResource<AtomixWorkQueue> | ... | @@ -128,7 +128,7 @@ public class AtomixWorkQueue extends AbstractResource<AtomixWorkQueue> |
128 | executor, | 128 | executor, |
129 | completedTaskAccumulator)); | 129 | completedTaskAccumulator)); |
130 | return register().thenCompose(v -> take(parallelism)) | 130 | return register().thenCompose(v -> take(parallelism)) |
131 | - .thenAccept(taskProcessor.get()::accept); | 131 | + .thenAccept(taskProcessor.get()); |
132 | } | 132 | } |
133 | 133 | ||
134 | @Override | 134 | @Override | ... | ... |
-
Please register or login to post a comment