From 07280c9761aef3deb41b907a8a95e9ddf78d282a Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Mon, 7 May 2012 21:11:01 +0000 Subject: [PATCH] HADOOP-8359. Fix javadoc warnings in Configuration. Contributed by Anupam Seth git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1335258 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/conf/Configuration.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 811f79f204..4e61a5bfd7 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -426,6 +426,9 @@ Release 2.0.0 - UNRELEASED HADOOP-8328. Duplicate FileSystem Statistics object for 'file' scheme. (tomwhite) + HADOOP-8359. Fix javadoc warnings in Configuration. (Anupam Seth via + szetszwo) + BREAKDOWN OF HADOOP-7454 SUBTASKS HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java index 044e5cb08a..d1ef7a49fe 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java @@ -278,7 +278,7 @@ private final String getWarningMessage(String key) { * @param key * @param newKeys * @param customMessage - * @deprecated use {@link addDeprecation(String key, String newKey, + * @deprecated use {@link #addDeprecation(String key, String newKey, String customMessage)} instead */ @Deprecated @@ -328,7 +328,7 @@ public synchronized static void addDeprecation(String key, String newKey, * * @param key Key that is to be deprecated * @param newKeys list of keys that take up the values of deprecated key - * @deprecated use {@link addDeprecation(String key, String newKey)} instead + * @deprecated use {@link #addDeprecation(String key, String newKey)} instead */ @Deprecated public synchronized static void addDeprecation(String key, String[] newKeys) {