Skip to content

Commit

Permalink
Update src/main/java/org/isf/medicalinventory/manager/MedicalInventor…
Browse files Browse the repository at this point in the history
…yManager.java

Co-authored-by: Alessandro Domanico <alessandro.domanico@yahoo.it>
  • Loading branch information
ArnaudFonzam and mwithi committed Jul 7, 2024
1 parent 27f7e1e commit ec1298c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ public MedicalInventory getInventoryByReference(String reference) throws OHServi
* Verify if the object is valid for CRUD and return a list of errors, if any.
*
* @param medInventory
* @throws OHServiceException
* @throws OHDataValidationException
*/
private void validateMedicalInventory(MedicalInventory medInventory) throws OHServiceException {
private void validateMedicalInventory(MedicalInventory medInventory) throws OHDataValidationException {
List<OHExceptionMessage> errors = new ArrayList<>();
LocalDateTime tomorrow = LocalDateTime.now().plusDays(1);
String reference = medInventory.getInventoryReference();
Expand Down

0 comments on commit ec1298c

Please sign in to comment.