File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/gridsuite/modification/server/service Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ private CompletableFuture<List<Optional<NetworkModificationResult>>> applyModifi
213213 // and schedule the next computation in the same thread as the task
214214 // The list is accessed from different threads but not concurrently and
215215 // with happens-before semantics.
216- chainedFutures = chainedFutures .thenCompose (accumulatingresults -> {
217- return applyModifications (
216+ chainedFutures = chainedFutures .thenCompose (accumulatingresults ->
217+ applyModifications (
218218 modificationApplicationContext .networkUuid (),
219219 modificationApplicationContext .variantId (),
220220 new ModificationApplicationGroup (groupUuid ,
@@ -224,7 +224,7 @@ private CompletableFuture<List<Optional<NetworkModificationResult>>> applyModifi
224224 accumulatingresults .add (result );
225225 return accumulatingresults ;
226226 });
227- } );
227+ );
228228 }
229229 return chainedFutures ;
230230 }
You can’t perform that action at this time.
0 commit comments