TisonKun commented on a change in pull request #9809: [FLINK-14282] Simplify 
DispatcherResourceManagerComponent hierarchy
URL: https://github.com/apache/flink/pull/9809#discussion_r329855229
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/component/DefaultDispatcherResourceManagerComponentFactory.java
 ##########
 @@ -71,24 +71,23 @@
 /**
  * Abstract class which implements the creation of the {@link 
DispatcherResourceManagerComponent} components.
  *
- * @param <T> type of the {@link DispatcherRunner}
  * @param <U> type of the {@link RestfulGateway} given to the {@link 
WebMonitorEndpoint}
  */
-public abstract class AbstractDispatcherResourceManagerComponentFactory<T 
extends DispatcherRunner, U extends RestfulGateway> implements 
DispatcherResourceManagerComponentFactory {
+public class DefaultDispatcherResourceManagerComponentFactory<U extends 
RestfulGateway> implements DispatcherResourceManagerComponentFactory {
 
 Review comment:
   I don't think one should instance an 
{{DefaultDispatcherResourceManagerComponentFactory}}. How about keep it 
`abstract`? Both names are OK for me.

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