mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 02:58:33 +00:00
(doc) fix typo in comment
This commit is contained in:
parent
8ba794181d
commit
2986222b8c
@ -346,7 +346,7 @@ public static <E extends Enum<E>> E getFirstEnumIgnoreCase(final Class<E> enumCl
|
|||||||
/**
|
/**
|
||||||
* Checks if the specified name is a valid enum for the class.
|
* Checks if the specified name is a valid enum for the class.
|
||||||
*
|
*
|
||||||
* <p>This method differs from {@link Enum#valueOf} in that checks if the name is
|
* <p>This method differs from {@link Enum#valueOf} in that it checks if the name is
|
||||||
* a valid enum without needing to catch the exception.</p>
|
* a valid enum without needing to catch the exception.</p>
|
||||||
*
|
*
|
||||||
* @param <E> the type of the enumeration
|
* @param <E> the type of the enumeration
|
||||||
@ -361,7 +361,7 @@ public static <E extends Enum<E>> boolean isValidEnum(final Class<E> enumClass,
|
|||||||
/**
|
/**
|
||||||
* Checks if the specified name is a valid enum for the class.
|
* Checks if the specified name is a valid enum for the class.
|
||||||
*
|
*
|
||||||
* <p>This method differs from {@link Enum#valueOf} in that checks if the name is
|
* <p>This method differs from {@link Enum#valueOf} in that it checks if the name is
|
||||||
* a valid enum without needing to catch the exception
|
* a valid enum without needing to catch the exception
|
||||||
* and performs case insensitive matching of the name.</p>
|
* and performs case insensitive matching of the name.</p>
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user