WIP_Objects #5

Merged
PBS2H21ASH merged 4 commits from WIP_Objects into main 2023-01-30 14:14:03 +01:00
Showing only changes of commit 50e0118ded - Show all commits

View File

@ -208,7 +208,6 @@ public class ConsoleLib {
System.out.print("Bitte geben Sie das Datum im Format YYYY-MM-DD an: "); System.out.print("Bitte geben Sie das Datum im Format YYYY-MM-DD an: ");
food_planData[0] = sc.nextLine(); food_planData[0] = sc.nextLine();
List<Food> veganMain = FoodMgr.getVeganFood(false); List<Food> veganMain = FoodMgr.getVeganFood(false);
System.out.println(veganMain.size());
for (Food food : veganMain) { for (Food food : veganMain) {
System.out.println(food.getId() + " : " + food.getName()); System.out.println(food.getId() + " : " + food.getName());
} }