Skip to content

Commit

Permalink
Update FlagFactory.java
Browse files Browse the repository at this point in the history
Addtion of Spain
  • Loading branch information
ReinierVis authored Jun 28, 2024
1 parent 5fefb7b commit 4702cfc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public List<Color> getFlagColors(Nationality nationality) {
case DUTCH:
result = Arrays.asList(Color.RED, Color.WHITE, Color.BLUE);
break;
case LUXEMBOURGER:
case LUXEMBURG:
result = Arrays.asList(Color.RED, Color.WHITE, Color.LIGHT_BLUE);
break;
case GERMAN:
Expand Down Expand Up @@ -46,6 +46,9 @@ public List<Color> getFlagColors(Nationality nationality) {
case RUSSIA:
result = Arrays.asList(Color.WHITE, Color.BLUE, Color.RED);
break;
case SPAIN:
result = Arrays.asList(Color.RED, Color.YELLOW, Color.RED);
break;
case UNCLASSIFIED:
default:
result = Arrays.asList(Color.GRAY);
Expand Down

0 comments on commit 4702cfc

Please sign in to comment.