Skip to content
Snippets Groups Projects
Commit 8da1cad7 authored by Blersch Lara's avatar Blersch Lara
Browse files

updated TODO's

parent eb2c8186
No related branches found
No related tags found
Loading
......@@ -15,6 +15,8 @@ import java.util.Map;
* Allow the user to create a meal plan for the week. The user can check out his nutrition scores for the week.
*/
public class MealPlan {
//TODO: limit MealPlan to seven days (LocalDate + 6 days)
private static final Logger log = LogManager.getLogger(MealPlan.class);
private final Map<LocalDate, Recipe> plan;
private static final MealPlan mealPlan = new MealPlan();
......
......@@ -49,7 +49,7 @@ public class NutritionCalculator {
return new NutritionTable(totalCals, totalCarbs, totalFats, totalProteins, totalFibers, totalSalt);
}
//TODO: implement calcuating nutrition table from meal plan and List<Recipe>
public static NutritionTable calculateNutritionTable(MealPlan mealPlan) {
Map<LocalDate, Recipe> plan = mealPlan.getAllRecipesFromPlan();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment