diff --git a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java index 651faa3af5..7f959a8522 100644 --- a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java +++ b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java @@ -1786,7 +1786,7 @@ private List getMedicalInventoryRowsWithMovement() throws O private void addInventoryRow(String code) throws OHServiceException { List inventoryRowsList = new ArrayList(); - List medicalList = new ArrayList(); + List medicalList = new ArrayList<>(); List lots = null; Medical medical = null; MedicalInventoryRow inventoryRowTemp = null;