Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
RB9823 committed Nov 13, 2023
1 parent 7b3aab5 commit 50c1b25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/team/rb9823.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 50c1b25

Please sign in to comment.