taegeonum commented on a change in pull request #268: [NEMO-429] SWPP TEAM17
Code Smell Fix
URL: https://github.com/apache/incubator-nemo/pull/268#discussion_r354051461
##########
File path:
runtime/executor/src/main/java/org/apache/nemo/runtime/executor/task/TaskExecutor.java
##########
@@ -682,21 +683,21 @@ private void finalizeOutputWriters(final VertexHarness
vertexHarness) {
});
// finalize OutputWriters for additional tagged children
-
vertexHarness.getWritersToAdditionalChildrenTasks().values().forEach(outputWriters
-> {
+
vertexHarness.getWritersToAdditionalChildrenTasks().values().forEach(outputWriters
->
outputWriters.forEach(outputWriter -> {
outputWriter.close();
final Optional<Long> writtenBytes = outputWriter.getWrittenBytes();
writtenBytes.ifPresent(writtenBytesList::add);
});
Review comment:
`});` -> `})`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services