Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5504#discussion_r168735349
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
---
@@ -77,19 +85,20 @@
private ViewUpdater viewUpdater;
- private final ScopeFormats scopeFormats;
- private final char globalDelimiter;
- private final List<Character> delimiters = new ArrayList<>();
+ private boolean isShutdown;
/**
* Creates a new MetricRegistry and starts the configured reporter.
*/
public MetricRegistryImpl(MetricRegistryConfiguration config) {
this.scopeFormats = config.getScopeFormats();
this.globalDelimiter = config.getDelimiter();
+ this.delimiters = new ArrayList<>(10);
--- End diff --
Good point, will change it.
---