Przeglądaj źródła

Revert "HADOOP-16344. Make DurationInfo public unstable."

This reverts commit 829848ba2e3e04e3b7bf5a02e0379470eec0809e.

Change-Id: Ied91250e191b2ba701a8fc697c78b3756ce76be8
Steve Loughran 6 lat temu
rodzic
commit
1f244b4227

+ 2 - 2
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.
  */
-@Public
-@Unstable
+@InterfaceAudience.Private
+@InterfaceStability.Unstable
 public class DurationInfo extends OperationDuration
     implements AutoCloseable {
   private final String text;