diff --git a/src/main/java/de/hitec/nhplus/medication/database/MedicationDao.java b/src/main/java/de/hitec/nhplus/medication/database/MedicationDao.java index 7397f8b..e53349c 100644 --- a/src/main/java/de/hitec/nhplus/medication/database/MedicationDao.java +++ b/src/main/java/de/hitec/nhplus/medication/database/MedicationDao.java @@ -106,8 +106,6 @@ public class MedicationDao implements Dao { result.getInt(6) ); medications.add(medication); - lastMedicationId = currentMedicationId; - continue; } List ingredients = ingredientMap.computeIfAbsent(currentMedicationId, k -> new ArrayList<>()); ingredients.add(new Ingredient(result.getString(7)));