This is an automated email from the ASF dual-hosted git repository. stevel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new ad1e3a0f5bf HADOOP-18724. (followup) remove deprecation on optLong/optDouble methods (#5650) ad1e3a0f5bf is described below commit ad1e3a0f5bf7b26af9b8766dc9b897d5aa09a795 Author: Steve Loughran <ste...@cloudera.com> AuthorDate: Fri May 12 15:22:37 2023 +0100 HADOOP-18724. (followup) remove deprecation on optLong/optDouble methods (#5650) Somehow @Deprecated crept in to the declaration of the new FSBuilder optLong/optDouble methods. --- .../hadoop-common/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 4790a29a460..81a14e97be5 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<S, B extends FSBuilder<S, B>> { * @return generic type B. * @see #opt(String, String) */ - @Deprecated B optLong(@Nonnull String key, long value); /** @@ -157,7 +156,6 @@ public interface FSBuilder<S, B extends FSBuilder<S, B>> { * @return generic type B. * @see #opt(String, String) */ - @Deprecated B optDouble(@Nonnull String key, double value); /** --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org