Skip to content

Commit

Permalink
Update FlagFactory.java
Browse files Browse the repository at this point in the history
added country luxembourg as a test
  • Loading branch information
daniquemont authored Jun 28, 2024
1 parent 01da067 commit 67e4a98
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 LUXEMBOURG:
result = Arrays.asList(Color.RED, Color.BLUE, Color.LIGHTBLUE);
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 67e4a98

Please sign in to comment.