Developer Guide
- Acknowledgements
- Setting up, getting started
- Design
- Implementation
- Documentation, logging, testing, configuration, dev-ops
- Appendix: Requirements
- Appendix: Planned Enhancements
- Appendix: Instructions for manual testing
Acknowledgements
- Generative AI tools were used for creating detailed Javadoc and test suite creation throughout the development of OverBooked.
- Canva was used to edit some of the images in the documentation.
Setting up, getting started
Refer to the guide Setting up and getting started.
Design
.puml files used to create diagrams are in this document docs/diagrams folder. Refer to the PlantUML Tutorial at se-edu/guides to learn how to create and edit diagrams.
Architecture

The Architecture Diagram given above explains the high-level design of the App.
Given below is a quick overview of main components and how they interact with each other.
Main components of the architecture
Main (consisting of classes Main and MainApp) is in charge of the app launch and shut down.
- At app launch, it initializes the other components in the correct sequence, and connects them up with each other.
- At shut down, it shuts down the other components and invokes cleanup methods where necessary.
The bulk of the app’s work is done by the following four components:
-
UI: The UI of the App. -
Logic: The command executor. -
Model: Holds the data of the App in memory. -
Storage: Reads data from, and writes data to, the hard disk.
Commons represents a collection of classes used by multiple other components.
How the architecture components interact with each other
The Sequence Diagram below shows how the components interact with each other for the scenario where the user issues the command delete-contact 1.

Each of the four main components (also shown in the diagram above),
- defines its API in an
interfacewith the same name as the Component. - implements its functionality using a concrete
{Component Name}Managerclass (which follows the corresponding APIinterfacementioned in the previous point.
For example, the Logic component defines its API in the Logic.java interface and implements its functionality using the LogicManager.java class which follows the Logic interface.
Other components interact with a given component through its interface rather than the concrete class (reason: to prevent outside component’s being coupled to the implementation of a component), as illustrated in the (partial) class diagram below.

The sections below give more details of each component.
UI component
The API of this component is specified in Ui.java

The UI consists of a MainWindow that is made up of parts e.g.CommandBox, ResultDisplay, PersonListPanel, StatusBarFooter etc. All these, including the MainWindow, inherit from the abstract UiPart class which captures the commonalities between classes that represent parts of the visible GUI. Apart from these parts in the class diagram, MainWindow also contains a menu bar.
The image below shows the MainWindow and its labelled parts in the UI:

The MainWindow also holds a reference to a HelpWindow, which inherits from UiPart as well. MainWindow controls when the HelpWindow is shown depending on the user’s input.
The UI component uses the JavaFx UI framework. The layout of these UI parts are defined in matching .fxml files that are in the src/main/resources/view folder. For example, the layout of the MainWindow is specified in MainWindow.fxml
The UI component,
- executes user commands using the
Logiccomponent. - listens for changes to
Modeldata so that the UI can be updated with the modified data. - keeps a reference to the
Logiccomponent, because theUIrelies on theLogicto execute commands. - depends on some classes in the
Modelcomponent, as it displaysPerson,EventandTodoobjects residing in theModel.
Logic component
API : Logic.java
Here’s a (partial) class diagram of the Logic component:

The sequence diagram below illustrates the interactions within the Logic component, taking execute("delete-contact 1") API call as an example.

DeleteCommandParser should end at the destroy marker (X) but due to a limitation of PlantUML, the lifeline continues till the end of diagram.
How the Logic component works:
- When
Logicis called upon to execute a command, it is passed to anAddressBookParserobject which in turn creates a parser that matches the command (e.g.,DeleteCommandParser) and uses it to parse the command. - This results in a
Commandobject (more precisely, an object of one of its subclasses e.g.,DeleteCommand) which is executed by theLogicManager. - The command can communicate with the
Modelwhen it is executed (e.g. to delete a person).
Note that although this is shown as a single step in the diagram above (for simplicity), in the code it can take several interactions (between the command object and theModel) to achieve. - The result of the command execution is encapsulated as a
CommandResultobject which is returned back fromLogic.
Here are the other classes in Logic (omitted from the class diagram above) that are used for parsing a user command:

How the parsing works (for commands which require parsing):
- When called upon to parse a user command, the
AddressBookParserclass creates anXYZCommandParser(XYZis a placeholder for the specific command name e.g.,AddCommandParser) which uses the other classes shown above to parse the user command and create aXYZCommandobject (e.g.,AddCommand) which theAddressBookParserreturns back as aCommandobject. - All
XYZCommandParserclasses (e.g.,AddCommandParser,DeleteCommandParser, …) inherit from theParserinterface so that they can be treated similarly where possible e.g, during testing.
Model component
API : Model.java

The Model component,
- stores the address book data i.e., all
Personobjects (which are contained in aUniquePersonListobject), as well asEventobjects (which are contained in aUniqueEventList) andTodoobjects (which are contained in aUniqueTodoList). - stores the currently ‘selected’
PersonandEventobjects (e.g., results of a search query) as a separate filtered list which is exposed to outsiders as an unmodifiableObservableList<Person>,ObservableList<Event>andObservableList<Todo>respectively, that can be ‘observed’ e.g. the UI can be bound to this list so that the UI automatically updates when the data in the list change. - stores a
UserPrefobject that represents the user’s preferences. This is exposed to the outside as aReadOnlyUserPrefobjects. - does not depend on any of the other three components (as the
Modelrepresents data entities of the domain, they should make sense on their own without depending on other components)
Storage component
API : Storage.java

The Storage component,
- can save both address book data and user preference data in JSON format, and read them back into corresponding objects.
- inherits from both
AddressBookStorageandUserPrefStorage, which means it can be treated as either one (if only the functionality of only one is needed). - depends on some classes in the
Modelcomponent (because theStoragecomponent’s job is to save/retrieve objects that belong to theModel)
Enhanced Data Model Support:
- The storage system has been extended beyond the original AB3 implementation to support a comprehensive event management system.
-
JsonSerializableAddressBooknow handles three distinct data types:- Persons: Contact information (original AB3 functionality)
- Events: Event details with date/time information
- Todos: Task management items
- Each data type has its own
JsonAdaptedclass (JsonAdaptedPerson,JsonAdaptedEvent,JsonAdaptedTodo) for proper JSON serialization/deserialization. - The storage maintains data integrity by checking for duplicates across all three data types during loading.
Common classes
Classes used by multiple components are in the seedu.address.commons package.
Implementation
This section describes some noteworthy details on how certain features are implemented.
Add-Event Feature
The Add-Event mechanism is facilitated by the AddEventCommand class. It allows users to create and store new events in
the address book with complete details including name, alias, start time, end time, and description.
The EventAlias serves as a unique identifier for each event
The command implements the following key operations through the Model interface:
- Model#hasEvent(Event) — Checks if an event with the same alias already exists in the address book
- Model#addEvent(Event) — Adds a new event to the address book’s event list and updates the filtered event list
These operations are backed by the AddressBook which maintains a UniqueEventList to ensure no duplicate events exist.
Given below is an example usage scenario and how the add-event mechanism behaves at each step.
The following sequence diagram shows how an add-event operation goes through the Logic component:

Step 1. The user launches the application. The AddressBook is initialised with its saved state, which may contain zero
or more existing events stored in a UniqueEventList
Step 2. The user executes add-event en/Taylor Swift Concert ea/TSC2025 st/2025-09-19 19:30 et/2025-09-19 23:30 d/Taylor's Eras Tour
to add a new event. The input string is passed to LogicManager, which passes it to AddressBookParser for parsing.
Step 3. AddressBookParser identifies the command word add-event and delegates to AddEventCommandParser. The parser performs the following steps:
-
Tokenization: The parser uses
ArgumentTokenizer.tokenize()to seperate the input into anArgumentMultimapcontaining the EventName, EventAlias, start time, end time and description. -
Validation: The parser then checks that
- All five required prefixes are present
- The preamble is empty (no text before first prefix)
- No duplicate prefixes exists (via
verifyNoDuplicatePrefixesFor())
If any of the validation fails, a ParseException is thrown with the appropriate usage message.
Step 4. The parser uses ParserUtil to convert string values into strongly-typed objects
Step 5. A new Event object will thus be constructed with these parsed values via its constructor. which will then be
passed on to the AddEventCommand
Step 6. When AddEventCommand#execute(Model) is called, it first checks for duplicates using Model#hasEvent(Event), which
compares and considers two events to be the same if their EventAlias is the same (case-insensitive).
The following sequence diagram shows how an add-event operation goes through the Model component:

Step 7. If no duplicate is found, Model#addEvent(Event) is then called. This method;
- Calls
AddressBook#addEvent(Event)to add the event to theUniqueEventList - Calls
updateFilteredEventList(PREDICATE_SHOW_ALL_EVENTS)to refresh the filtered view
The UniqueEventList maintains the internal observable list that JavaFx uses to update the UI automatically
Step 8. After successful addition, a CommandResult is returned with a success message: “New Event added:[formatted event details]”. The UI automatically reflects the new event in the event list panel.
[Proposed] Undo/redo feature
Proposed Implementation
The proposed undo/redo mechanism is facilitated by VersionedAddressBook. It extends AddressBook with an undo/redo history, stored internally as an addressBookStateList and currentStatePointer. Additionally, it implements the following operations:
-
VersionedAddressBook#commit()— Saves the current address book state in its history. -
VersionedAddressBook#undo()— Restores the previous address book state from its history. -
VersionedAddressBook#redo()— Restores a previously undone address book state from its history.
These operations are exposed in the Model interface as Model#commitAddressBook(), Model#undoAddressBook() and Model#redoAddressBook() respectively.
Given below is an example usage scenario and how the undo/redo mechanism behaves at each step.
Step 1. The user launches the application for the first time. The VersionedAddressBook will be initialized with the initial address book state, and the currentStatePointer pointing to that single address book state.

Step 2. The user executes delete-contact 5 command to delete the 5th person in the address book. The delete-contact command calls Model#commitAddressBook(), causing the modified state of the address book after the delete-contact 5 command executes to be saved in the addressBookStateList, and the currentStatePointer is shifted to the newly inserted address book state.

Step 3. The user executes add-contact n/David … to add a new person. The add-contact command also calls Model#commitAddressBook(), causing another modified address book state to be saved into the addressBookStateList.

Model#commitAddressBook(), so the address book state will not be saved into the addressBookStateList.
Step 4. The user now decides that adding the person was a mistake, and decides to undo that action by executing the undo command. The undo command will call Model#undoAddressBook(), which will shift the currentStatePointer once to the left, pointing it to the previous address book state, and restores the address book to that state.

currentStatePointer is at index 0, pointing to the initial AddressBook state, then there are no previous AddressBook states to restore. The undo command uses Model#canUndoAddressBook() to check if this is the case. If so, it will return an error to the user rather
than attempting to perform the undo.
The following sequence diagram shows how an undo operation goes through the Logic component:

UndoCommand should end at the destroy marker (X) but due to a limitation of PlantUML, the lifeline reaches the end of diagram.
Similarly, how an undo operation goes through the Model component is shown below:

The redo command does the opposite — it calls Model#redoAddressBook(), which shifts the currentStatePointer once to the right, pointing to the previously undone state, and restores the address book to that state.
currentStatePointer is at index addressBookStateList.size() - 1, pointing to the latest address book state, then there are no undone AddressBook states to restore. The redo command uses Model#canRedoAddressBook() to check if this is the case. If so, it will return an error to the user rather than attempting to perform the redo.
Step 5. The user then decides to execute the command list-contacts. Commands that do not modify the address book, such as list-contacts, will usually not call Model#commitAddressBook(), Model#undoAddressBook() or Model#redoAddressBook(). Thus, the addressBookStateList remains unchanged.

Step 6. The user executes clear, which calls Model#commitAddressBook(). Since the currentStatePointer is not pointing at the end of the addressBookStateList, all address book states after the currentStatePointer will be purged. Reason: It no longer makes sense to redo the add-contact n/David … command. This is the behavior that most modern desktop applications follow.

The following activity diagram summarizes what happens when a user executes a new command:

Design considerations
Aspect: How undo & redo executes:
-
Alternative 1 (current choice): Saves the entire address book.
- Pros: Easy to implement.
- Cons: May have performance issues in terms of memory usage.
-
Alternative 2: Individual command knows how to undo/redo by
itself.
- Pros: Will use less memory (e.g. for
delete-contact, just save the person being deleted). - Cons: We must ensure that the implementation of each individual command are correct.
- Pros: Will use less memory (e.g. for
Documentation, logging, testing, configuration, dev-ops
Appendix: Requirements
Product scope
Target user profile:
- Event planner who has to operate and liaise with various stakeholders to host events
- Has to juggle multiple events
- Has tight deadlines
- Value time and efficiency
- Can type fast
Value proposition: Provides event planners with a single, organized hub for managing all contacts related to their events, reducing the chaos of scattered information. It ensures quick access to the right people at the right time, helping planners stay in control and deliver seamless, stress-free experiences.
User stories
Priorities: High (must have) - * * *, Medium (nice to have) - * *, Low (unlikely to have) - *
| Priority | As a … | I want to … | So that I can… |
|---|---|---|---|
* * * |
event planner | add a contact | store contact information |
* * * |
event planner | view all contacts | quickly obtain information to contact anyone involved in my events |
* * * |
event planner | edit a contact | keep contacts’ information accurate and updated |
* * * |
event planner | delete a contact | remove irrelevant people |
* * * |
event planner | find contacts by name | quickly locate someone specific without going through entire list |
* * * |
event planner | add an event | store events to plan for |
* * * |
event planner | view all events | view all the upcoming events |
* * * |
event planner | edit an event | update event details when details change |
* * * |
event planner | delete an event | remove canceled or past events |
* * * |
event planner | link a contact to an event | know which event a contact is involved in |
* * * |
event planner | unlink a contact from an event | remove incorrect or old associations |
* * * |
event planner | find contacts by event | view all people associated with a specific event |
* * * |
event planner | find events by alias | quickly locate an event without going through the entire list |
* * * |
event planner | clear all data | manage my events from blank slate |
* * |
event planner | add a todo | store information about tasks to be done |
* * |
event planner | view all todos | view all the tasks on my plate |
* * |
event planner | delete a todo | remove completed or irrelevant tasks |
* |
event planner | mark a todo as completed | keep track of what I have already done |
* |
event planner | unmark a todo as incomplete | reopen tasks when needed |
* |
event planner | edit a todo | update a task’s information when details change |
Use cases
(For all use cases below, the System is OverBooked and the Actor is the user, unless specified otherwise)
Use case: UC1 - Add a contact
MSS
- User requests to add a contact with the required details.
- OverBooked adds the contact.
- OverBooked updates the list.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. User tries to add a contact with the same name.
- 1b1. OverBooked informs the user that the contact already exists.
Use case ends.
Use case: UC2 - List contacts
MSS
- User requests to view the list of contacts.
- OverBooked shows the list of contacts.
Use case ends.
Use case: UC3 - Edit a contact
MSS
- User requests to edit a particular contact with the updated details.
- OverBooked updates the contact.
- OverBooked updates the list.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. The new contact name is already used by another existing contact.
- 1b1. OverBooked informs the user that contact already exists.
Use case ends.
Use case: UC4 - Find contact by contact name
MSS
- User types in keywords to search for contacts.
- OverBooked shows a list of contacts with matching keywords.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
Use case: UC5 - Delete a contact
MSS
- User requests to delete a contact.
- OverBooked removes the contact.
- OverBooked updates the list.
Use case ends.
Extensions
- 1a. Index provided by user is invalid.
- 1a1. OverBooked informs user that the contact index is invalid.
Use case ends.
Use case: UC6 - Add an event
MSS
- User requests to add an event with the required details.
- OverBooked adds the event.
- OverBooked updates the list.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. An existing event has the same alias.
- 1b1. OverBooked informs the user that the event already exists.
Use case ends.
Use case: UC7 - Link contacts to an event
MSS
- User requests to link one or more contacts to an event using their displayed index and event alias.
- OverBooked links the contact(s) to the specified event.
- OverBooked updates the list to show the linked event.
Use case ends.
Extensions
- 1a. User inputs invalid format or parameters.
- 1a1. OverBooked informs user of the error and displays the correct format.
Use case ends.
- 1b. One or more index provided by user is invalid.
- 1b1. OverBooked informs user that the contact index is invalid.
Use case ends.
- 1c. User inputs a non-existent event alias.
- 1c1. OverBooked informs the user that the event was not found.
Use case ends.
Use case: UC8 - Unlink contacts from events
MSS
- User requests to unlink one or more contacts from their linked events using their displayed indexes.
- OverBooked unlinks the contact(s) from their events.
- OverBooked updates the list to show the contacts are no longer linked.
Use case ends.
Extensions
- 1a. User inputs invalid format or parameters.
- 1a1. OverBooked informs user of the error and displays the correct format.
Use case ends.
- 1b. One or more index provided by user is invalid.
- 1b1. OverBooked informs user that the contact index is invalid.
Use case ends.
Use case: UC9 - List events
MSS
- User requests to view the list of events.
- OverBooked shows the list of events.
Use case ends.
Use case: UC10 - Edit an event
MSS
- User requests to edit an event and provides details of the parameters that should be edited.
- OverBooked informs the user that the edit was successful.
- OverBooked displays the updated event list.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked displays the correct format to the user.
Use case ends.
- 1b. The event with the specified alias does not exist.
- 1b1. OverBooked informs user that the event could not be found.
Use case ends.
- 1c. User does not provide any parameters to edit.
- 1c1. OverBooked informs user that they need to provide at least 1 parameter.
Use case ends.
- 1d. Start time of the edited event is the same or after its end time.
- 1d1. OverBooked informs user that the start time has to be before the end time.
Use case ends.
Use case: UC11 - Find events
MSS
- User requests to find an event with the specified keywords.
- OverBooked displays all events that match the given keywords.
- OverBooked informs the user the number of events found.
Use case ends.
Extensions
- 1a. User uses the invalid format or does not specify any keywords.
- 1a1. OverBooked displays the correct format to the user.
Use case ends.
Use case: UC12 - Delete an event
MSS
- User requests to delete an event.
- OverBooked deletes the specified event.
- OverBooked updates and displays the new event list.
Use case ends.
Extensions
- 1a. The event could not be found.
- 1a1. OverBooked shows an error message.
Use case ends.
Use case: UC13 - Find contacts by event
MSS
- User requests to find contacts associated with the event.
- OverBooked shows a list of contacts that are associated with the event.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. The event could not be found.
- 1b1. OverBooked shows an error message.
Use case ends.
Use case: UC14 - Add a todo
MSS
- User requests to add a todo with the required details.
- OverBooked adds the todo.
- OverBooked updates the todo list.
Use case ends.
Extensions
- 1a. User uses the invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. An existing todo has the same name and description.
- 1b1. OverBooked informs the user that the todo already exists.
Use case ends.
Use case: UC15 - Edit a todo
MSS
- User requests to edit a specific todo using its displayed index and provides the fields to update.
- OverBooked edits the todo with the new details.
- OverBooked updates the todo list to show the edited todo.
Use case ends.
Extensions
- 1a. User uses invalid format or parameters.
- 1a1. OverBooked informs the user of the error and displays the correct format.
Use case ends.
- 1b. User provides an invalid index.
- 1b1. OverBooked informs the user that the todo index is invalid.
Use case ends.
- 1c. User does not provide any fields to edit.
- 1c1. OverBooked informs the user that at least one field must be provided.
Use case ends.
- 1d. User provides a contact name that does not exist.
- 1d1. OverBooked informs the user that the contact was not found.
Use case ends.
- 1e. An existing todo has the same name and description.
- 1e1. OverBooked informs the user that the todo already exists.
Use case ends.
Use case: UC16 - Delete a todo
MSS
- User requests to delete a todo.
- OverBooked deletes the specified todo.
- OverBooked updates the todo list.
Use case ends.
Extensions
- 1a. User provides an invalid index.
- 1a1. OverBooked informs the user of the error.
Use case ends.
Use case: UC17 - List todos
MSS
- User requests to view the list of todos.
- OverBooked shows the list of todos.
Use case ends.
Use case: UC18 - Mark a todo as complete
MSS
- User requests to mark a todo as complete.
- OverBooked marks the todo as complete.
- OverBooked updates the list to reflect the marking.
Use case ends.
Extensions
- 1a. Index provided by user is invalid.
- 1a1. OverBooked informs user that the todo index is invalid.
Use case ends.
Use case: UC19 - Mark a todo as incomplete
MSS
- User requests to mark a todo as incomplete.
- OverBooked marks the todo as incomplete.
- OverBooked updates the list to reflect the marking.
Use case ends.
Extensions
- 1a. Index provided by user is invalid.
- 1a1. OverBooked informs user that the todo index is invalid.
Use case ends.
Non-Functional Requirements
- Should work on any mainstream OS as long as it has Java
17or above installed. - Should be able to hold up to 1000 persons, 1000 events and 1000 todos without a noticeable sluggishness in performance for typical usage.
- A user with above average typing speed for regular English text (i.e. not code, not system admin commands) should be able to accomplish most of the tasks faster using commands than using the mouse.
- Commands should be case-insensitive.
- The GUI should update in real-time when contacts/events/todos are added, listed or deleted.
- Invalid inputs should never crash the system; instead, appropriate error messages should be shown.
- All saved data must survive application restarts.
Glossary
- Mainstream OS: Windows, Linux, Unix, MacOS
- CLI(Command Line Interface): A text-based interface where the user types commands to interact with the application.
- GUI(Graphical User Interface): The visual interface of the app (panels, windows) built using JavaFX.
-
Contact: Any person in
OverBooked. This term is used interchangeably with the term “person”. - Todo: A task that the event planner needs to do.
Appendix: Planned Enhancements
Team size: 5
-
Support associating contacts with multiple events
Currently, each contact can only be linked to a single event. This enhancement will allow a contact to be associated with multiple events simultaneously, improving flexibility for users managing recurring or related events. -
Introduce alternative short command aliases
Provide shorter command words (e.g.,lcas an alias forlist-contacts) to enhance efficiency and user experience, especially for experienced users who prefer quicker interactions. -
Use both name and phone number as unique identifiers for contacts
Modify the contact model so that uniqueness is determined by a combination of name and phone number, instead of name alone. This ensures users can store multiple contacts sharing the same name but with different numbers. -
Enable international phone number formats
Expand phone number validation to support international formats (e.g., including+,/, and()symbols). This will be implemented via enhanced regex patterns and improved parsing to handle a wider range of valid cases. -
Allow prefixes within data field values using quotation marks
Commands currently fail when a data field (e.g., description) contains a prefix keyword. The parser will be enhanced to support quoted values (e.g.,d/"Discuss n/next steps"), enabling users to include prefixes safely within input text. -
Improve UI scaling for displaying of lists
When the application window width is reduced, longer details are currently cut off. Responsive resizing will be implemented so text automatically wraps or dynamically adjusts, ensuring all content remains visible. -
Enable vertical scaling for command output panel
The command output box currently requires horizontal scrolling for long messages. Enhancing it to support vertical scaling or text wrapping will improve readability and reduce user friction when there are long extended command outputs.
Appendix: Instructions for manual testing
Given below are instructions to test the app manually.
Launch and shutdown
-
Initial launch
- Download the jar file and copy into an empty folder
- Open a terminal and navigate to that folder using the
cdcommand - Run the application by typing
java -jar OverBooked.jar
-
Saving window preferences
-
Resize the window to an optimum size. Move the window to a different location. Close the window.
-
Re-launch the app by typing
java -jar OverBooked.jaragain.
Expected: The most recent window size and location is retained.
-
Deleting a person
-
Deleting a person while all persons are being shown
-
Prerequisites: List all persons using the
list-contactscommand. Multiple persons in the list. -
Test case:
delete-contact 1
Expected: First contact is deleted from the list. Details of the deleted contact shown in the status message. -
Test case:
delete-contact 0
Expected: No person is deleted. Error details shown in the status message. -
Other incorrect delete commands to try:
delete-contact,delete-contact x,...(where x is larger than the list size)
Expected: Similar to previous.
-
Saving data
-
Dealing with missing/corrupted data files
- If the application cannot find the data file (addressbook.json), it automatically creates a new file upon startup.
- If the data file becomes an invalid json file or data field values no longer fall within the given restrictions after user edits, the application creates a new empty file to replace it. In some cases, database consistency may not be guaranteed.