From ad1e3a0f5bf7b26af9b8766dc9b897d5aa09a795 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Fri, 12 May 2023 15:22:37 +0100 Subject: [PATCH] HADOOP-18724. (followup) remove deprecation on optLong/optDouble methods (#5650) Somehow @Deprecated crept in to the declaration of the new FSBuilder optLong/optDouble methods. --- .../src/main/java/org/apache/hadoop/fs/FSBuilder.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSBuilder.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSBuilder.java index 4790a29a46..81a14e97be 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSBuilder.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FSBuilder.java @@ -146,7 +146,6 @@ public interface FSBuilder> { * @return generic type B. * @see #opt(String, String) */ - @Deprecated B optLong(@Nonnull String key, long value); /** @@ -157,7 +156,6 @@ public interface FSBuilder> { * @return generic type B. * @see #opt(String, String) */ - @Deprecated B optDouble(@Nonnull String key, double value); /**