X-czh commented on code in PR #24182:
URL: https://github.com/apache/flink/pull/24182#discussion_r1463601347
##########
flink-core/src/main/java/org/apache/flink/api/common/serialization/SerializerConfig.java:
##########
@@ -229,8 +233,9 @@ public LinkedHashSet<Class<?>> getRegisteredPojoTypes() {
}
/** Returns the registered type info factories. */
- public LinkedHashMap<Class<?>, Class<TypeInfoFactory<?>>>
getRegisteredTypeFactories() {
- return registeredTypeFactories;
+ public LinkedHashMap<Class<?>, Class<? extends TypeInfoFactory<?>>>
Review Comment:
The type should be `Class<? extends TypeInfoFactory<?>>` instead of
`Class<TypeInfoFactory<?>>` for proper functioning. Updated in the FLIP as well
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]