Minor code improvements.
This commit is contained in:
@@ -170,7 +170,7 @@ public enum CategoryType
|
||||
* @param categoryName
|
||||
* @return A {@code CategoryType} if category was found, {@code null} if category was not found
|
||||
*/
|
||||
public static final CategoryType findByName(String categoryName)
|
||||
public static CategoryType findByName(String categoryName)
|
||||
{
|
||||
for (CategoryType type : values())
|
||||
{
|
||||
|
@@ -28,7 +28,7 @@ public enum IllegalActionPunishmentType
|
||||
KICKBAN,
|
||||
JAIL;
|
||||
|
||||
public static final IllegalActionPunishmentType findByName(String name)
|
||||
public static IllegalActionPunishmentType findByName(String name)
|
||||
{
|
||||
for (IllegalActionPunishmentType type : values())
|
||||
{
|
||||
|
Reference in New Issue
Block a user