Skip to content

Commit

Permalink
Rename getOid method
Browse files Browse the repository at this point in the history
  • Loading branch information
McNaBry committed Oct 17, 2023
1 parent 9a17fdb commit 634a84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Recruiter.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public Recruiter(Name name, Id id, Phone phone, Email email, Url url, Address ad
this.oid = oid;
}

public Id getOid() {
public Id getOrganizationId() {
return oid;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public JsonAdaptedContact(Contact source) {
} else if (source.getType() == Type.RECRUITER) {
status = "";
position = "";
Id tmp = ((Recruiter) source).getOid();
Id tmp = ((Recruiter) source).getOrganizationId();
oid = tmp == null ? null : tmp.value;
}

Expand Down

0 comments on commit 634a84f

Please sign in to comment.