From 37b3da0fe3fcefed6f5595c77f3531904bf214e7 Mon Sep 17 00:00:00 2001 From: gnoossk <143413957+gnoossk@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:37:10 +0800 Subject: [PATCH] Change name --- build.gradle | 2 +- docs/UserGuide.md | 2 +- src/main/java/seedu/address/model/UserPrefs.java | 2 +- .../address/storage/JsonSerializableStudentAddressBook.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index ecd7e2cc7b2..588f9c0a77b 100644 --- a/build.gradle +++ b/build.gradle @@ -66,7 +66,7 @@ dependencies { } shadowJar { - archiveFileName = 'Teletutors.jar' + archiveFileName = 'Teletutor.jar' } run { diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 996de32dbec..f19f0a6086a 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -333,7 +333,7 @@ Teletutors data are saved in the hard disk automatically after any command that ### Editing the data file -Teletutors data are saved automatically as a JSON file `[JAR file location]/data/teletutors.json`. Advanced users are welcome to update data directly by editing that data file. +Teletutors data are saved automatically as a JSON file `[JAR file location]/data/teletutor.json`. Advanced users are welcome to update data directly by editing that data file. diff --git a/src/main/java/seedu/address/model/UserPrefs.java b/src/main/java/seedu/address/model/UserPrefs.java index 6da94adba8f..41811a40c49 100644 --- a/src/main/java/seedu/address/model/UserPrefs.java +++ b/src/main/java/seedu/address/model/UserPrefs.java @@ -14,7 +14,7 @@ public class UserPrefs implements ReadOnlyUserPrefs { private GuiSettings guiSettings = new GuiSettings(); - private Path addressBookFilePath = Paths.get("data" , "teletutors.json"); + private Path addressBookFilePath = Paths.get("data" , "teletutor.json"); /** * Creates a {@code UserPrefs} with default values. diff --git a/src/main/java/seedu/address/storage/JsonSerializableStudentAddressBook.java b/src/main/java/seedu/address/storage/JsonSerializableStudentAddressBook.java index 8611ce7b486..3134afff9fb 100644 --- a/src/main/java/seedu/address/storage/JsonSerializableStudentAddressBook.java +++ b/src/main/java/seedu/address/storage/JsonSerializableStudentAddressBook.java @@ -17,7 +17,7 @@ * An Immutable AddressBook that is serializable to JSON format. */ -@JsonRootName(value = "teletutors") +@JsonRootName(value = "teletutor") public class JsonSerializableStudentAddressBook { public static final String MESSAGE_DUPLICATE_STUDENT = "Students list contains duplicate student(s).";