You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/07/08 09:36:25 UTC

[GitHub] [flink] dawidwys commented on a change in pull request #16429: [FLINK-23308] Optimize checks if SourceContext is closed

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



##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSourceContexts.java
##########
@@ -410,7 +402,7 @@ public WatermarkContext(
         }
 
         @Override
-        public void collect(T element) {
+        public final void collect(T element) {
             checkNotClosed();

Review comment:
       Yes. That's point 1. in the description.




-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org