From 1f244b422793f01738355cf9511f363e03c94249 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 6 Jun 2019 17:49:12 +0100 Subject: [PATCH] Revert "HADOOP-16344. Make DurationInfo public unstable." This reverts commit 829848ba2e3e04e3b7bf5a02e0379470eec0809e. Change-Id: Ied91250e191b2ba701a8fc697c78b3756ce76be8 --- .../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 2a1b78d0cf..9dd75db27c 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 @@ * This allows it to be used in a try-with-resources clause, and have the * duration automatically logged. */ -@Public -@Unstable +@InterfaceAudience.Private +@InterfaceStability.Unstable public class DurationInfo extends OperationDuration implements AutoCloseable { private final String text;