Skip to content

Commit

Permalink
Merge pull request #6840 from ORCID/8761-qa-trusted-summary-json-inco…
Browse files Browse the repository at this point in the history
…mplete-employee-information

fix: Remove duplicated attribute and fix organization name
  • Loading branch information
amontenegro authored Jul 31, 2023
2 parents 8e1619c + 42b2f4c commit ae4a79c
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class AffiliationSummary {
public String startDate;
public String endDate;
public String role;
public String title;
public String type;
public boolean validatedOrSelfAsserted;

Expand Down Expand Up @@ -56,14 +55,6 @@ public void setRole(String role) {
this.role = role;
}

public String getTitle() {
return title;
}

public void setTitle(String title) {
this.title = title;
}

public String getType() {
return type;
}
Expand Down Expand Up @@ -114,14 +105,6 @@ public static AffiliationSummary valueOf(org.orcid.jaxb.model.v3.release.record.
form.setRole(as.getRoleTitle());
}

if (!PojoUtil.isEmpty(as.getDepartmentName())) {
form.setOrganizationName(as.getDepartmentName());
}

if (!PojoUtil.isEmpty(as.getRoleTitle())) {
form.setRole(as.getRoleTitle());
}

form.setType(type);

if (as.getSource() != null) {
Expand Down

0 comments on commit ae4a79c

Please sign in to comment.