Переглянути джерело

Fix trivial javadoc warning on branch

(javadoc references parameter 'defaultVal' but it is actually 'defaultValue')


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-347@1437797 13f79535-47bb-0310-9956-ffa450edef68
Todd Lipcon 12 роки тому
батько
коміт
f5ab88b5b7

+ 3 - 3
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java

@@ -746,12 +746,12 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
   
   /**
    * Get the value of the <code>name</code> property as a trimmed <code>String</code>, 
-   * <code>defaultVal</code> if no such property exists. 
+   * <code>defaultValue</code> if no such property exists. 
    * See @{Configuration#getTrimmed} for more details.
    * 
    * @param name          the property name.
-   * @param defaultVal    the property default value.
-   * @return              the value of the <code>name</code> or defaultVal 
+   * @param defaultValue  the property default value.
+   * @return              the value of the <code>name</code> or defaultValue
    *                      if it is not set.
    */
   public String getTrimmed(String name, String defaultValue) {