Skip to content

Commit

Permalink
Fixed checkStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
IanFH committed Apr 15, 2024
1 parent b15cda8 commit 4da42be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/florizz/core/FlowerDictionary.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public static void startup() {
add("Baby Breath", "White", new String[]{"Wedding", "Valentines", "Mothers Day"}, 1.00,
new String[]{"Innocence", "Kindness", "Care", "Humble"}, Flower.Type.MAIN_FLOWER);

add("Eucalyptus", "Green", new String[]{"Wedding"}, 1.5, new String[]{"Love", "Kindness"}, Flower.Type.MAIN_FLOWER);
add("Eucalyptus", "Green", new String[]{"Wedding"}, 1.5,
new String[]{"Love", "Kindness"}, Flower.Type.MAIN_FLOWER);
add("Dusty Miller", "Green", new String[]{}, 1.5, new String[]{}, Flower.Type.FILLER_FLOWER);
add("Pistacia", "Green", new String[]{}, 1.5, new String[]{}, Flower.Type.FILLER_FLOWER);
add("Pittosporum", "Green", new String[]{}, 1.5, new String[]{}, Flower.Type.FILLER_FLOWER);
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/florizz/command/RecommendTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ void testRecommendCommand_addRandomFlowersSmallValentines() {
Flower.Occasion occasion = Flower.Occasion.VALENTINES;
ArrayList<Flower> eligibleFlowersByOccasion = FlowerDictionary.filterByOccasion(occasion);
Bouquet recommendedBouquet = new Bouquet("TestBouquet");
// NOTE: testSize must be in lowercase. In actual case, validation will be done before addRandomFlower is called.
// NOTE: testSize must be in lowercase. In actual case,
// validation will be done before addRandomFlower is called.
String testSize = "small";
Flower.Colour testColour = Flower.Colour.WHITE;
ArrayList<Flower> eligibleFlowersByOccasionAndColour =
Expand Down

0 comments on commit 4da42be

Please sign in to comment.