Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2300#discussion_r75112856
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/groups/AbstractMetricGroup.java
 ---
    @@ -54,13 +53,19 @@
      * return Counters, Gauges, etc to the code, to prevent exceptions in the 
monitored code.
      * These metrics simply do not get reported any more, when created on a 
closed group.
      */
    -public abstract class AbstractMetricGroup implements MetricGroup {
    +public abstract class AbstractMetricGroup<A extends AbstractMetricGroup> 
implements MetricGroup {
    --- End diff --
    
    Curious, what is the reason to introduce a generically typed parent?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to