HADOOP-16084. Fix the comment for getClass in Configuration. Contributed by Fengnan Li.
This commit is contained in:
parent
033d97abac
commit
bcc3a79f58
@ -2610,7 +2610,7 @@ public Class<?>[] getClasses(String name, Class<?> ... defaultValue) {
|
|||||||
* If no such property is specified, then <code>defaultValue</code> is
|
* If no such property is specified, then <code>defaultValue</code> is
|
||||||
* returned.
|
* returned.
|
||||||
*
|
*
|
||||||
* @param name the class name.
|
* @param name the conf key name.
|
||||||
* @param defaultValue default value.
|
* @param defaultValue default value.
|
||||||
* @return property value as a <code>Class</code>,
|
* @return property value as a <code>Class</code>,
|
||||||
* or <code>defaultValue</code>.
|
* or <code>defaultValue</code>.
|
||||||
@ -2636,7 +2636,7 @@ public Class<?> getClass(String name, Class<?> defaultValue) {
|
|||||||
* An exception is thrown if the returned class does not implement the named
|
* An exception is thrown if the returned class does not implement the named
|
||||||
* interface.
|
* interface.
|
||||||
*
|
*
|
||||||
* @param name the class name.
|
* @param name the conf key name.
|
||||||
* @param defaultValue default value.
|
* @param defaultValue default value.
|
||||||
* @param xface the interface implemented by the named class.
|
* @param xface the interface implemented by the named class.
|
||||||
* @return property value as a <code>Class</code>,
|
* @return property value as a <code>Class</code>,
|
||||||
|
Loading…
Reference in New Issue
Block a user