Project

General

Profile

task #9253

Updated by Andreas Kohlbecker over 3 years ago

This intended function of `FieldUnitDTO OccurrenceServiceImpl.findFieldUnitDTO(DerivateDTO derivedUnitDTO, Collection<FieldUnitDTO> fieldUnits, HashMap<UUID, DerivateDTO> alreadyCollectedSpecimen) ` is quite unclear, not only because the documentation is missing (#8458), (#8423), but also since the method is confuses reagarding the method signature: All detected fieldunits are added to the `Collection<FieldUnitDTO> fieldUnits` passed as parameter but one of the field units is returned. From the description of #8423 supports the impression that this method covers two distinct functionalities at the same.  

 TODO: refactor the method to make its clarify its purpose and converns.     

Back