tillrohrmann commented on a change in pull request #11363:
URL: https://github.com/apache/flink/pull/11363#discussion_r415595187



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/StandaloneResourceManagerFactory.java
##########
@@ -30,32 +30,35 @@
 import org.apache.flink.runtime.metrics.groups.ResourceManagerMetricGroup;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.util.ConfigurationException;
 
 import javax.annotation.Nullable;
 
 /**
  * {@link ResourceManagerFactory} which creates a {@link 
StandaloneResourceManager}.
  */
-public enum StandaloneResourceManagerFactory implements 
ResourceManagerFactory<ResourceID> {
-       INSTANCE;
+public class StandaloneResourceManagerFactory extends 
ResourceManagerFactory<ResourceID> {
+
+       private static final StandaloneResourceManagerFactory INSTANCE = new 
StandaloneResourceManagerFactory();
+
+       protected StandaloneResourceManagerFactory() {}

Review comment:
       ```suggestion
        private StandaloneResourceManagerFactory() {}
   ```




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


Reply via email to