dawidwys commented on a change in pull request #10342: [FLINK-14967][table] Add 
a utility for creating data types via reflection
URL: https://github.com/apache/flink/pull/10342#discussion_r352643653
 
 

 ##########
 File path: 
flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/extraction/utils/ExtractionUtils.java
 ##########
 @@ -137,7 +135,7 @@ public static DataType createRawType(
                return Object.class;
        }
 
-       private static TypeSerializer<?> instantiateRawSerializer(Class<?> 
rawSerializer) {
+       private static TypeSerializer<?> instantiateRawSerializer(Class<? 
extends TypeSerializer<?>> rawSerializer) {
                if (!TypeSerializer.class.isAssignableFrom(rawSerializer)) {
 
 Review comment:
   This code block can be removed.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to