浏览代码

HADOOP-18724. (followup) remove deprecation on optLong/optDouble methods (#5650)

Somehow @Deprecated crept in to the declaration of the
new FSBuilder optLong/optDouble methods.
Steve Loughran 2 年之前
父节点
当前提交
ad1e3a0f5b

+ 0 - 2
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);
 
   /**