zentol commented on a change in pull request #7049: [FLINK-10816][cep] Fix
LockableTypeSerializer.duplicate() to consider…
URL: https://github.com/apache/flink/pull/7049#discussion_r231609118
##########
File path:
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/Lockable.java
##########
@@ -109,8 +110,10 @@ public boolean isImmutableType() {
}
@Override
- public TypeSerializer<Lockable<E>> duplicate() {
- return new LockableTypeSerializer<>(elementSerializer);
+ public LockableTypeSerializer<E> duplicate() {
Review comment:
why are you changing the signature?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services