mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 03:24:58 +00:00
Fix Javadoc for Validate.isAssignableFrom()
This commit is contained in:
parent
69202d5f16
commit
e6dadcb49a
@ -76,6 +76,7 @@ The <action> type attribute can be add,update,fix,remove.
|
||||
<action issue="LANG-1675" type="fix" dev="ggregory" due-to="clover">Improve performance of StringUtils.join for primitives #812.</action>
|
||||
<action issue="LANG-1675" type="fix" dev="ggregory" due-to="Arturo Bernal">Fixed NPE getting Stack Trace if Throwable is null #733.</action>
|
||||
<action type="fix" dev="ggregory" due-to="Gary Gregory, Arturo Bernal">Make Validate.isAssignableFrom() check null inputs.</action>
|
||||
<action type="fix" dev="ggregory" due-to="Arturo Bernal">Fix Javadoc for Validate.isAssignableFrom().</action>
|
||||
<!-- ADD -->
|
||||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add EnumUtils.getEnumSystemProperty(...).</action>
|
||||
<action type="add" dev="ggregory" due-to="Gary Gregory">Add TriConsumer.</action>
|
||||
|
@ -1287,7 +1287,7 @@ public static void isInstanceOf(final Class<?> type, final Object obj, final Str
|
||||
*
|
||||
* <p>The message format of the exception is "Cannot assign {type} to {superType}"</p>
|
||||
*
|
||||
* @param superType the class the class must be validated against, not null
|
||||
* @param superType the class must be validated against, not null
|
||||
* @param type the class to check, not null
|
||||
* @throws IllegalArgumentException if type argument is not assignable to the specified superType
|
||||
* @see #isAssignableFrom(Class, Class, String, Object...)
|
||||
@ -1312,7 +1312,7 @@ public static void isAssignableFrom(final Class<?> superType, final Class<?> typ
|
||||
* <p>The message of the exception is "The validated object can not be converted to the"
|
||||
* followed by the name of the class and "class"</p>
|
||||
*
|
||||
* @param superType the class the class must be validated against, not null
|
||||
* @param superType the class must be validated against, not null
|
||||
* @param type the class to check, not null
|
||||
* @param message the {@link String#format(String, Object...)} exception message if invalid, not null
|
||||
* @param values the optional values for the formatted exception message, null array not recommended
|
||||
|
Loading…
x
Reference in New Issue
Block a user