Skip to content

Commit eeca868

Browse files
committed
Update minor typos in DG and sequence diagram
1 parent d8bb6a7 commit eeca868

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

docs/DeveloperGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Given below is the Sequence Diagram for interactions within the `Logic` componen
105105

106106
![Interactions Inside the Logic Component for the `delete 1` Command](images/DeleteSequenceDiagram.png)
107107

108-
<div markdown="span" class="alert alert-info">:information_source: **Note:** The lifeline for `DeleteCommandParser` should end at the destroy marker (X) but due to a limitation of PlantUML, the lifeline reaches the end of diagram.
108+
<div markdown="span" class="alert alert-info">:information_source: **Note:** The lifeline for `DeletePersonCommandParser` should end at the destroy marker (X) but due to a limitation of PlantUML, the lifeline reaches the end of diagram.
109109
</div>
110110

111111

docs/diagrams/DeleteSequenceDiagram.puml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
box Logic LOGIC_COLOR_T1
77
participant ":LogicManager" as LogicManager LOGIC_COLOR
88
participant ":MeetBuddyParser" as MeetBuddyParser LOGIC_COLOR
9-
participant ":DeleteCommandParser" as DeleteCommandParser LOGIC_COLOR
10-
participant "d:DeleteCommand" as DeleteCommand LOGIC_COLOR
9+
participant ":DeletePersonCommandParser" as DeletePersonCommandParser LOGIC_COLOR
10+
participant "d:DeletePersonCommand" as DeletePersonCommand LOGIC_COLOR
1111
participant ":CommandResult" as CommandResult LOGIC_COLOR
1212
end box
1313

@@ -21,50 +21,50 @@ activate LogicManager
2121
LogicManager -> MeetBuddyParser : parseCommand("delete 1")
2222
activate MeetBuddyParser
2323

24-
create DeleteCommandParser
25-
MeetBuddyParser -> DeleteCommandParser
26-
activate DeleteCommandParser
24+
create DeletePersonCommandParser
25+
MeetBuddyParser -> DeletePersonCommandParser
26+
activate DeletePersonCommandParser
2727

28-
DeleteCommandParser --> MeetBuddyParser
29-
deactivate DeleteCommandParser
28+
DeletePersonCommandParser --> MeetBuddyParser
29+
deactivate DeletePersonCommandParser
3030

31-
MeetBuddyParser -> DeleteCommandParser : parse("1")
32-
activate DeleteCommandParser
31+
MeetBuddyParser -> DeletePersonCommandParser : parse("1")
32+
activate DeletePersonCommandParser
3333

34-
create DeleteCommand
35-
DeleteCommandParser -> DeleteCommand
36-
activate DeleteCommand
34+
create DeletePersonCommand
35+
DeletePersonCommandParser -> DeletePersonCommand
36+
activate DeletePersonCommand
3737

38-
DeleteCommand --> DeleteCommandParser : d
39-
deactivate DeleteCommand
38+
DeletePersonCommand --> DeletePersonCommandParser : d
39+
deactivate DeletePersonCommand
4040

41-
DeleteCommandParser --> MeetBuddyParser : d
42-
deactivate DeleteCommandParser
41+
DeletePersonCommandParser --> MeetBuddyParser : d
42+
deactivate DeletePersonCommandParser
4343
'Hidden arrow to position the destroy marker below the end of the activation bar.
44-
DeleteCommandParser -[hidden]-> MeetBuddyParser
45-
destroy DeleteCommandParser
44+
DeletePersonCommandParser -[hidden]-> MeetBuddyParser
45+
destroy DeletePersonCommandParser
4646

4747
MeetBuddyParser --> LogicManager : d
4848
deactivate MeetBuddyParser
4949

50-
LogicManager -> DeleteCommand : execute()
51-
activate DeleteCommand
50+
LogicManager -> DeletePersonCommand : execute()
51+
activate DeletePersonCommand
5252

53-
DeleteCommand -> Model : deletePerson(1)
53+
DeletePersonCommand -> Model : deletePerson(1)
5454
activate Model
5555

56-
Model --> DeleteCommand
56+
Model --> DeletePersonCommand
5757
deactivate Model
5858

5959
create CommandResult
60-
DeleteCommand -> CommandResult
60+
DeletePersonCommand -> CommandResult
6161
activate CommandResult
6262

63-
CommandResult --> DeleteCommand
63+
CommandResult --> DeletePersonCommand
6464
deactivate CommandResult
6565

66-
DeleteCommand --> LogicManager : result
67-
deactivate DeleteCommand
66+
DeletePersonCommand --> LogicManager : result
67+
deactivate DeletePersonCommand
6868

6969
[<--LogicManager
7070
deactivate LogicManager
2.81 KB
Loading

0 commit comments

Comments
 (0)