HADOOP-16084. Fix the comment for getClass in Configuration. Contributed by Fengnan Li.

This commit is contained in:
Inigo Goiri 2019-01-31 10:06:05 -08:00
parent 033d97abac
commit bcc3a79f58
1 changed files with 2 additions and 2 deletions

View File

@ -2610,7 +2610,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
* If no such property is specified, then <code>defaultValue</code> is
* returned.
*
* @param name the class name.
* @param name the conf key name.
* @param defaultValue default value.
* @return property value as a <code>Class</code>,
* or <code>defaultValue</code>.
@ -2636,7 +2636,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
* 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 <code>Class</code>,