From db1c656ef5571e0587b211cde0fcee3f9d4f96a5 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Sat, 13 Feb 2021 11:20:54 -0500 Subject: [PATCH] Quick switcharoo --- plant-information/GardenManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plant-information/GardenManager.java b/plant-information/GardenManager.java index 2bf3b6f..ad9344e 100644 --- a/plant-information/GardenManager.java +++ b/plant-information/GardenManager.java @@ -2,7 +2,11 @@ import java.util.ArrayList; import java.util.Scanner; public class GardenManager{ - private ArrayList myGarden = new ArrayList(); + private ArrayList myGarden; + + public GardenManager(){ + myGarden = new ArrayList(); + } public ArrayList getMyGardenList(){ return myGarden;