Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37a40f70ec
commit
a68f9dadd5
|
@ -45,6 +45,7 @@ public class EnumUtils {
|
|||
*
|
||||
* <p>This method is useful when you need a map of enums by name.</p>
|
||||
*
|
||||
* @param <E> the type of the enumeration
|
||||
* @param enumClass the class of the enum to query, not null
|
||||
* @return the modifiable map of enum names to enums, never null
|
||||
*/
|
||||
|
@ -61,6 +62,7 @@ public class EnumUtils {
|
|||
*
|
||||
* <p>This method is useful when you need a list of enums rather than an array.</p>
|
||||
*
|
||||
* @param <E> the type of the enumeration
|
||||
* @param enumClass the class of the enum to query, not null
|
||||
* @return the modifiable list of enums, never null
|
||||
*/
|
||||
|
@ -74,6 +76,7 @@ public class EnumUtils {
|
|||
* <p>This method differs from {@link Enum#valueOf} in that checks if the name is
|
||||
* a valid enum without needing to catch the exception.</p>
|
||||
*
|
||||
* @param <E> the type of the enumeration
|
||||
* @param enumClass the class of the enum to query, not null
|
||||
* @param enumName the enum name, null returns false
|
||||
* @return true if the enum name is valid, otherwise false
|
||||
|
@ -96,6 +99,7 @@ public class EnumUtils {
|
|||
* <p>This method differs from {@link Enum#valueOf} in that it does not throw an exception
|
||||
* for an invalid enum name.</p>
|
||||
*
|
||||
* @param <E> the type of the enumeration
|
||||
* @param enumClass the class of the enum to query, not null
|
||||
* @param enumName the enum name, null returns null
|
||||
* @return the enum, null if not found
|
||||
|
|
Loading…
Reference in New Issue