dawidwys commented on a change in pull request #14857:
URL: https://github.com/apache/flink/pull/14857#discussion_r665315565



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/AsyncCheckpointRunnable.java
##########
@@ -110,8 +109,6 @@ public void run() {
         FileSystemSafetyNet.initializeSafetyNetForThread();
         try {
 
-            registerConsumer.accept(this);

Review comment:
       BTW, sorry I missed one comment in the previous review (not sure how). 
Let's inline the regsiterConsumer() and remove the method. It is unnecessary to 
go through the `Consumer` here.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to