From bcc3a79f589cd8a05e3241801c3f977f011e8157 Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Thu, 31 Jan 2019 10:06:05 -0800 Subject: [PATCH] HADOOP-16084. Fix the comment for getClass in Configuration. Contributed by Fengnan Li. --- .../src/main/java/org/apache/hadoop/conf/Configuration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c1720e6bf9..6d8f58764f 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 @@ -2610,7 +2610,7 @@ public Class[] getClasses(String name, Class ... defaultValue) { * If no such property is specified, then defaultValue is * returned. * - * @param name the class name. + * @param name the conf key name. * @param defaultValue default value. * @return property value as a Class, * or defaultValue. @@ -2636,7 +2636,7 @@ public Class getClass(String name, Class defaultValue) { * An exception is thrown if the returned class does not implement the named * interface. * - * @param name the class name. + * @param name the conf key name. * @param defaultValue default value. * @param xface the interface implemented by the named class. * @return property value as a Class,