Skip to content

Commit

Permalink
Fixed CoDPart1 infinite loop. Fixed custom addResource method on Deat…
Browse files Browse the repository at this point in the history
…h Certificate Document
  • Loading branch information
MikeRileyGTRI committed Jun 17, 2022
1 parent 1d7ffc5 commit 64540ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>edu.gatech</groupId>
<artifactId>VRDR</artifactId>
<version>v1.3.3-STU1.3</version>
<version>v1.3.4-STU1.3</version>
<packaging>jar</packaging>

<name>VRDR</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void setValue(StringType value) {
if((value.getValue().length() > 120)) {
throw new IllegalArgumentException("CauseOfDeathPart1 value "+value.getValue()+" is too long, must be 120 characters or less.");
}
this.setValue(value);
super.setValue(value);
}

public void setValue(String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void addAuxillaryStateIdentifier(String auxillaryStateIdentifierValue) {
public void addResource(Resource resource) {
DeathCertificate deathCertificate = getDeathCertificate().get(0);
deathCertificate.addResource(resource);
this.addEntry(new BundleEntryComponent().setResource(deathCertificate));
this.addEntry(new BundleEntryComponent().setResource(resource));
}

//Helper Accessor methods
Expand Down

0 comments on commit 64540ad

Please sign in to comment.