Skip to content

Commit

Permalink
Merge branch 'OP-1185new' of https://github.com/intesys/openhospital-…
Browse files Browse the repository at this point in the history
…core into OP-1185new
  • Loading branch information
ArnaudFonzam committed Jul 23, 2024
2 parents ccf817c + 1aa7186 commit e424777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public List<Lot> getLotByMedical(Medical medical) throws OHServiceException {
}

/**
* Retrieves all the {@link Lot} associated to the specified {@link Medical}, expiring first on top with zero quantities will be stripped out if removeEmpty is set to true.
* Retrieves all the {@link Lot} associated to the specified {@link Medical}, expiring first on top, zero quantities will be stripped out if {@code removeEmtpy} is set to true.
*
* @param medical the medical.
* @param removeEmpty.
Expand Down

0 comments on commit e424777

Please sign in to comment.