From 829848ba2e3e04e3b7bf5a02e0379470eec0809e Mon Sep 17 00:00:00 2001 From: Huan-Ping Su Date: Thu, 6 Jun 2019 12:49:20 +0100 Subject: [PATCH] HADOOP-16344. Make DurationInfo public unstable. Contributed by Huan-Ping Su Change-Id: I64a94cf382f9db78b4ef49a3912f25f0d906af7c --- .../src/main/java/org/apache/hadoop/util/DurationInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java index 9dd75db27c7..2a1b78d0cf0 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java @@ -29,8 +29,8 @@ import org.apache.hadoop.classification.InterfaceStability; * This allows it to be used in a try-with-resources clause, and have the * duration automatically logged. */ -@InterfaceAudience.Private -@InterfaceStability.Unstable +@Public +@Unstable public class DurationInfo extends OperationDuration implements AutoCloseable { private final String text;