File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
hadoop-common-project/hadoop-common/dev-support Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ index a277abd6e13..1d131d5db6e 100644
1414- * the annotations of the source object.)
1515- * @param desc the description of the source (or null. See above.)
1616- * @return the source object
17- - * @exception MetricsException
17+ - * @exception MetricsException Metrics Exception.
1818- */
1919- public abstract <T> T register(String name, String desc, T source);
2020-
@@ -38,7 +38,7 @@ index a277abd6e13..1d131d5db6e 100644
3838+ * the annotations of the source object.)
3939+ * @param desc the description of the source (or null. See above.)
4040+ * @return the source object
41- * @exception MetricsException
41+ * @exception MetricsException Metrics Exception.
4242 */
4343- public abstract <T extends MetricsSink>
4444- T register(String name, String desc, T sink);
@@ -65,7 +65,6 @@ index a6edf08e5a7..5b87be1ec67 100644
6565- }
6666- return sink;
6767- }
68- - allSinks.put(name, sink);
6968- if (config != null) {
7069- registerSink(name, description, sink);
7170- }
You can’t perform that action at this time.
0 commit comments