= Updated Update statement

This commit is contained in:
Matthew Cech
2019-05-24 01:35:04 -07:00
parent 9e9759394e
commit 5dd8821d51
7 changed files with 60 additions and 28 deletions
+4 -4
View File
@@ -18,8 +18,8 @@ public enum KittyRole
return value;
}
public static Optional<KittyRole> valueOf(int value)
{
return Arrays.stream(values()).filter(role -> role.value == value).findFirst();
}
public static Optional<KittyRole> valueOf(int value)
{
return Arrays.stream(values()).filter(role -> role.value == value).findFirst();
}
}