StefanRRichter commented on a change in pull request #7849: [FLINK-11772] 
[DataStream] InternalTimerServiceSerializationProxy should be using the new 
serialization compatibility abstractions
URL: https://github.com/apache/flink/pull/7849#discussion_r260819450
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/common/typeutils/CompositeTypeSerializerSnapshot.java
 ##########
 @@ -111,8 +111,9 @@
         *
         * @param correspondingSerializerClass the expected class of the new 
serializer.
         */
-       public CompositeTypeSerializerSnapshot(Class<S> 
correspondingSerializerClass) {
-               this.correspondingSerializerClass = 
checkNotNull(correspondingSerializerClass);
+       @SuppressWarnings("unchecked")
+       public CompositeTypeSerializerSnapshot(Class<? extends TypeSerializer> 
correspondingSerializerClass) {
 
 Review comment:
   Raw-type use of `TypeSerializer` in `Class<? extends TypeSerializer>`

----------------------------------------------------------------
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

Reply via email to