From 0e5957f036f95acddab18022977a46cd7bba7107 Mon Sep 17 00:00:00 2001 From: FOFOU FONZAM Gui Arnaud Date: Tue, 26 Nov 2024 07:51:30 +0100 Subject: [PATCH] Update src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java Co-authored-by: David B Malkovsky --- src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java index 1715fc2c3d..6a0a68051f 100644 --- a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java +++ b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java @@ -2150,7 +2150,7 @@ private boolean checkParameters(String wardCode, String chargeCode, String disch private JComboBox getJComboMedicalType() { if (medicalTypeComboBox == null) { - medicalTypeComboBox = new JComboBox(); + medicalTypeComboBox = new JComboBox<>(); try { List medicalTypes = medicalTypeManager.getMedicalType(); MedicalType medicalType = new MedicalType(MessageBundle.getMessage("angal.common.all.txt"), MessageBundle.getMessage("angal.common.all.txt"));