Skip to content

Commit

Permalink
Update FlagFactory.java
Browse files Browse the repository at this point in the history
  • Loading branch information
JitseGoutbeek authored Jun 28, 2024
1 parent c085b61 commit 95cd4d1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public List<Color> getFlagColors(Nationality nationality) {
case RUSSIA:
result = Arrays.asList(Color.WHITE, Color.BLUE, Color.RED);
break;
case UKRAINE:
result = Arrays.asList(Color.BLUE, Color.YELLOW);
break;
case UNCLASSIFIED:
default:
result = Arrays.asList(Color.GRAY);
Expand All @@ -49,4 +52,4 @@ public List<Color> getFlagColors(Nationality nationality) {
}
// end::getFlag[]

}
}

0 comments on commit 95cd4d1

Please sign in to comment.