Fix Javadoc for Validate.isAssignableFrom()

This commit is contained in:
Gary Gregory 2022-05-02 09:30:03 -04:00
parent 69202d5f16
commit e6dadcb49a
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -1287,7 +1287,7 @@ public static void isInstanceOf(final Class<?> type, final Object obj, final Str
*
* <p>The message format of the exception is &quot;Cannot assign {type} to {superType}&quot;</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 &quot;The validated object can not be converted to the&quot;
* followed by the name of the class and &quot;class&quot;</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