Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed all instances of person to record #58

Merged
merged 5 commits into from
Mar 11, 2019

Conversation

eugeneyl
Copy link

As per developerGuide, all instances of person are changed to record to change the application from an addressBook to a financeTracker.

@eugeneyl eugeneyl merged commit 96c90c2 into CS2103-AY1819S2-W17-3:master Mar 11, 2019
}

/**
* Creates and returns a {@code Person} with the details of {@code personToEdit}
* edited with {@code editPersonDescriptor}.
* Creates and returns a {@code Record} with the details of {@code RecordToEdit}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be recordToEdit instead of RecordToEdit

*/
public void setPersons(List<Person> persons) {
this.persons.setPersons(persons);
public void setRecords(List<Record> people) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should people be records instead?

@@ -26,8 +26,8 @@

private final VersionedAddressBook versionedAddressBook;
private final UserPrefs userPrefs;
private final FilteredList<Person> filteredPersons;
private final SimpleObjectProperty<Person> selectedPerson = new SimpleObjectProperty<>();
private final FilteredList<Record> filteredPeople;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should name filteredRecords instead of filteredPeople

Copy link

@JeremyLoye JeremyLoye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job changing all instances of Person to Record including those in test cases, comments and docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants