Commit 2b705d94 authored by Franck Desaize's avatar Franck Desaize
Browse files

Fix issues with targetDomain in the case of empty list

parent 92188425
Pipeline #267539 failed with stages
in 10 minutes and 37 seconds
...@@ -60,7 +60,7 @@ public class PatientAliasesConverter { ...@@ -60,7 +60,7 @@ public class PatientAliasesConverter {
/** /**
* Convert a list of PatientAliases * Convert a list of PatientAliases
* @param crossReferenceDBS list to convert * @param crossReferenceDBS list to convert
* @return List<PatientAliases> * @return a List of PatientAliases
*/ */
public static List<PatientAliases> toListOfPatientAliases(List<CrossReferenceDB> crossReferenceDBS){ public static List<PatientAliases> toListOfPatientAliases(List<CrossReferenceDB> crossReferenceDBS){
List<PatientAliases> patientAliases = new ArrayList<>(); List<PatientAliases> patientAliases = new ArrayList<>();
......
...@@ -40,10 +40,10 @@ public class PatientCrossReferenceDAOImpl implements PatientCrossReferenceDAO { ...@@ -40,10 +40,10 @@ public class PatientCrossReferenceDAOImpl implements PatientCrossReferenceDAO {
/** /**
* Search for a patient by its entity identifier. * Search for a patient by its entity identifier.
* The request need to go through HierarchicDesignatorDB => PatientIdentifierDB => PatientDB * The request need to go through HierarchicDesignatorDB to PatientIdentifierDB to PatientDB
* *
* @param entityIdentifier * @param entityIdentifier sourceIdentifier
* @return PatientDB * @return PatientDB result
* @throws SearchCrossReferenceException if an error occurred during the search * @throws SearchCrossReferenceException if an error occurred during the search
*/ */
@Override @Override
...@@ -64,7 +64,7 @@ public class PatientCrossReferenceDAOImpl implements PatientCrossReferenceDAO { ...@@ -64,7 +64,7 @@ public class PatientCrossReferenceDAOImpl implements PatientCrossReferenceDAO {
* Search for a list of patientAliases by its patient cross reference id * Search for a list of patientAliases by its patient cross reference id
* *
* @param patientDB retrieve a list of XREf matching with a patient * @param patientDB retrieve a list of XREf matching with a patient
* @return List<CrossReferenceDB> * @return a list of cross reference
* @throws SearchCrossReferenceException if an error occurred during the search * @throws SearchCrossReferenceException if an error occurred during the search
*/ */
@Override @Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment