You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider to replace Colors class with a proper enum
public enum Color {
BLACK(144),
WHITE(5),
RED(28),
CYAN(159),
PURPLE(156),
GREEN(30),
BLUE(31),
YELLOW(158),
ORANGE(129),
BROWN(149),
LIGHT_RED(150),
GREY1(151),
GREY2(152),
LIGHT_GREEN(153),
LIGHT_BLUE(154),
GREY3(155);
public final int code;
Color(final int code) {
this.code = code;
}
public int getCode() {
return code;
}
}
The text was updated successfully, but these errors were encountered:
Consider to replace
Colors
class with a properenum
The text was updated successfully, but these errors were encountered: