Github user pnowojski commented on a diff in the pull request: https://github.com/apache/flink/pull/4587#discussion_r160349688 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -150,16 +126,13 @@ */ private boolean nfaChanged; - public NFA( - final TypeSerializer<T> eventSerializer, + public NFA(final TypeSerializer<T> eventSerializer, final long windowTime, final boolean handleTimeout) { - this.eventSerializer = eventSerializer; --- End diff -- shouldn't the `eventSerializer` be checked for not null here after this change?
---