shuiqiangchen commented on code in PR #21961: URL: https://github.com/apache/flink/pull/21961#discussion_r1112479461
########## flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java: ########## @@ -149,11 +149,14 @@ @Public public class StreamExecutionEnvironment implements AutoCloseable { - private static final List<CollectResultIterator<?>> collectIterators = new ArrayList<>(); + private static final List<CollectResultIterator<?>> collectIterators = Review Comment: I agree that the variable does not need to be static since it is accessed only by current environment. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org