From 9b4f09a6bb35b2f54f55240bc362b40de8f24a23 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Mon, 18 Jan 2021 20:29:53 +0530 Subject: [PATCH] HDFS-15758. Fix typos in MutableMetric. Contributed by Haibin Huang. --- .../main/java/org/apache/hadoop/metrics2/lib/MutableMetric.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableMetric.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableMetric.java index 58d79cbdee..ed41ccac72 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableMetric.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MutableMetric.java @@ -56,7 +56,7 @@ public void snapshot(MetricsRecordBuilder builder) { protected void clearChanged() { changed = false; } /** - * @return true if metric is changed since last snapshot/snapshot + * @return true if metric is changed since last snapshot */ public boolean changed() { return changed; } }