flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-8081][metrics] Annotate 'MetricRegistry#getReporters' with '@VisibleForTesting'
Date Mon, 27 Nov 2017 12:00:28 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.4 4a46507e9 -> bd1e03374


[FLINK-8081][metrics] Annotate 'MetricRegistry#getReporters' with '@VisibleForTesting'

This closes #5049.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/bd1e0337
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/bd1e0337
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/bd1e0337

Branch: refs/heads/release-1.4
Commit: bd1e03374d0f240f5a0b406ace662e4391cce1d5
Parents: 4a46507
Author: zentol <chesnay@apache.org>
Authored: Wed Nov 15 13:14:18 2017 +0100
Committer: zentol <chesnay@apache.org>
Committed: Mon Nov 27 13:00:24 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/bd1e0337/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
b/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
index 3e4f56f..d36d095 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
@@ -214,6 +214,7 @@ public class MetricRegistryImpl implements MetricRegistry {
 		return reporters.size();
 	}
 
+	@VisibleForTesting
 	public List<MetricReporter> getReporters() {
 		return reporters;
 	}


Mime
View raw message