From 2b180af2ad7085340b9f4617c1f6474aba1e21ba Mon Sep 17 00:00:00 2001 From: David B Malkovsky Date: Thu, 24 Oct 2024 14:11:26 -0400 Subject: [PATCH 1/2] Chore: fix Javadoc errors (#1438) --- .../isf/medicalinventory/manager/MedicalInventoryManager.java | 4 ++-- .../medicalinventory/service/MedicalInventoryIoOperation.java | 2 +- .../isf/medicalstock/manager/MovStockInsertingManager.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/isf/medicalinventory/manager/MedicalInventoryManager.java b/src/main/java/org/isf/medicalinventory/manager/MedicalInventoryManager.java index c31a6c70d..7ba2a8917 100644 --- a/src/main/java/org/isf/medicalinventory/manager/MedicalInventoryManager.java +++ b/src/main/java/org/isf/medicalinventory/manager/MedicalInventoryManager.java @@ -133,7 +133,7 @@ public List getMedicalInventoryByStatusAndWard(String status, * Return a list {@link MedicalInventory}s for passed params. * * @param status - the {@link MedicalInventory} status. - * @param type - the {@link MedicalInventory} type. + * @param inventoryType - the {@link MedicalInventory} type. * @return the list of {@link MedicalInventory}s. It could be {@code empty}. * @throws OHServiceException */ @@ -253,7 +253,7 @@ public void validateMedicalInventoryRow(MedicalInventory inventory, List movs = new ArrayList(); + List movs = new ArrayList<>(); List inventoryMedicalsList = inventoryRowSearchList.stream() .map(MedicalInventoryRow::getMedical) .distinct() diff --git a/src/main/java/org/isf/medicalinventory/service/MedicalInventoryIoOperation.java b/src/main/java/org/isf/medicalinventory/service/MedicalInventoryIoOperation.java index 67deae164..cd2d26285 100644 --- a/src/main/java/org/isf/medicalinventory/service/MedicalInventoryIoOperation.java +++ b/src/main/java/org/isf/medicalinventory/service/MedicalInventoryIoOperation.java @@ -108,7 +108,7 @@ public List getMedicalInventoryByStatusAndWard(String status, * Return a list of {@link MedicalInventory}s for passed params. * * @param status - the {@link MedicalInventory} status. - * @param type - the {@link MedicalInventory} type. + * @param inventoryType - the {@link MedicalInventory} type. * @return the list of {@link MedicalInventory}s. It could be {@code empty}. * @throws OHServiceException */ diff --git a/src/main/java/org/isf/medicalstock/manager/MovStockInsertingManager.java b/src/main/java/org/isf/medicalstock/manager/MovStockInsertingManager.java index b2581bcc7..e2050edf1 100644 --- a/src/main/java/org/isf/medicalstock/manager/MovStockInsertingManager.java +++ b/src/main/java/org/isf/medicalstock/manager/MovStockInsertingManager.java @@ -463,7 +463,7 @@ public void deleteLot(Lot lot) throws OHServiceException { /** * Retrieves all medicals referencing the specified code. * - * @param lotCode the lot code. + * @param code the lot code. * @return the ids of medicals referencing the specified lot. * @throws OHServiceException if an error occurs retrieving the referencing medicals. */ From 46834565d23fbfdc4426fde14148712dc377472b Mon Sep 17 00:00:00 2001 From: David B Malkovsky Date: Mon, 28 Oct 2024 06:02:59 -0400 Subject: [PATCH 2/2] Chore: upgrade to Spring Boot 3.3.5 (#1440) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 56c7dc32f..c8b9f36c3 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ org.springframework.boot spring-boot-starter-parent - 3.3.4 + 3.3.5