From 50c1b25227e29e4d92423678f4636ca72e53e826 Mon Sep 17 00:00:00 2001 From: RB9823 Date: Tue, 14 Nov 2023 03:38:03 +0800 Subject: [PATCH] Fix typos --- docs/DeveloperGuide.md | 4 ++-- docs/team/rb9823.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index aa44bff21bb..b338bf60b29 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -300,9 +300,9 @@ The primary functions of the class include: - `RoomType getRoomTypeByNumber(int roomNumber)` - Uses an internal map to associate room numbers with specific room types, thus enabling quick determination of a room's type. -Given below is an example usage senario and how the prefix completion mechanism behaves at each step. +Given below is an example usage scenario and how the prefix completion mechanism behaves at each step. -1. The user enters the `add`command with the room number. +1. The user enters the `add` command with the room number. 2. A Room object is instantiated with a room number passed as a string to the constructor. 3. The constructor parses the string into an integer and calls RoomType.getRoomTypeByNumber to ascertain the room's category. 4. A RoomTypeTag object is created using the name of the determined RoomType, which then facilitates the creation of a UI label for display. diff --git a/docs/team/rb9823.md b/docs/team/rb9823.md index c7cc7287dc2..4476cd4551c 100644 --- a/docs/team/rb9823.md +++ b/docs/team/rb9823.md @@ -32,7 +32,7 @@ Given below are my contributions to the project. * Updated documentation for all features. * Refined formatting, and added collapsible sections. * Developer Guide: - * Added implementation details of the `roomtype`. + * Added implementation details of the `RoomType Tags`. * Modified all the UML Diagrams [1](https://github.com/AY2324S1-CS2103T-F10-1/tp/pull/271), [2](https://github.com/AY2324S1-CS2103T-F10-1/tp/pull/273) [3](https://github.com/AY2324S1-CS2103T-F10-1/tp/pull/285). * Refined formatting, and added collapsible sections (examples: [1](https://github.com/AY2324S1-CS2103T-F10-1/tp/pull/276), [2](https://github.com/AY2324S1-CS2103T-F10-1/tp/pull/275).