[ https://issues.apache.org/jira/browse/FLINK-6731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083744#comment-16083744 ]
ASF GitHub Bot commented on FLINK-6731: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/4295#discussion_r126908486 --- Diff: flink-tests/src/test/java/org/apache/flink/test/checkpointing/RescalingITCase.java --- @@ -1035,4 +1040,43 @@ public void restoreState(Integer state) throws Exception { counterPartitions.add(state); } } + + /** + * Copied from io.netty.util.internal.ConcurrentSet. + * + * @param <E> the type of elements maintained by this set + */ + private static final class ConcurrentSet<E> extends AbstractSet<E> implements Serializable { --- End diff -- You could also use `Collections.newSetFromMap(new HashMap<>())` > Activate strict checkstyle for flink-tests > ------------------------------------------ > > Key: FLINK-6731 > URL: https://issues.apache.org/jira/browse/FLINK-6731 > Project: Flink > Issue Type: Sub-task > Components: Tests > Reporter: Chesnay Schepler > Assignee: Greg Hogan > > Long term issue for incrementally introducing the strict checkstyle to > flink-tests. -- This message was sent by Atlassian JIRA (v6.4.14#64029)