Skip to content

Commit

Permalink
Merge bd03657 into 7bebda6
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaHaoLim committed Apr 4, 2019
2 parents 7bebda6 + bd03657 commit 861880d
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 121 deletions.
2 changes: 1 addition & 1 deletion docs/DeveloperGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ Now we have the `Remark` class, we need to actually use it inside link:{repoURL}

. Add `getRemark()` in link:{repoURL}/src/main/java/seedu/address/model/person/Person.java[`Person`].
. You may assume that the user will not be able to use the `add` and `edit` commands to modify the remarks field (i.e. the person will be created without a remark).
. Modify link:{repoURL}/src/main/java/seedu/address/model/util/SampleDataUtil.java/[`SampleDataUtil`] to add remarks for the sample data (delete your `data/addressbook.json` so that the application will load the sample data when you launch it.)
. Modify link:{repoURL}/src/main/java/seedu/address/model/util/SampleDataUtil.java/[`SampleDataUtil`] to add remarks for the sample data (delete your `data/TeethHub.json` so that the application will load the sample data when you launch it.)

===== [Step 6] Storage: Add `Remark` field to `JsonAdaptedPerson` class
We now have `Remark` s for `Person` s, but they will be gone when we exit the application. Let's modify link:{repoURL}/src/main/java/seedu/address/storage/JsonAdaptedPerson.java[`JsonAdaptedPerson`] to include a `Remark` field so that it will be saved.
Expand Down
Loading

0 comments on commit 861880d

Please sign in to comment.