Skip to content

Commit

Permalink
Fix part of #33: recursive clone of Specimen parts lead to StackOverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Jan 27, 2021
1 parent 6afdbd8 commit c1510b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void setAttributeDate(Date prepTypeAttributeDate) {
@Override
public Object clone() {
SpecimenPartAttribute newAttr = new SpecimenPartAttribute(
(SpecimenPart)specimenPartId.clone(), attributeType, attributeValue,
null, attributeType, attributeValue,
attributeUnits, attributeRemark, attributeDeterminer,
(Date)attributeDate.clone());
return newAttr;
Expand Down

0 comments on commit c1510b6

Please sign in to comment.