File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ participant Book as ":Book"
99
1010User -> InputHandler : "view-inventory"
1111activate InputHandler
12- activate InputHandler
1312 InputHandler -> InputParser : extractCommandArgs(userInputLine)
1413 activate InputParser
1514 InputParser --> InputHandler : commandArgs[]
@@ -23,8 +22,7 @@ activate InputHandler
2322 Formatter --> BookList
2423 deactivate Formatter
2524 BookList --> InputHandler
26- else
27-
25+ else else
2826 BookList -> Formatter : printBookList(bookList)
2927 activate Formatter
3028 loop for each Book
@@ -38,11 +36,12 @@ activate InputHandler
3836 BookList --> InputHandler
3937 deactivate BookList
4038 end
41- else
39+ else else
4240 note over InputHandler
4341 other command cases
4442 end note
4543end
44+ InputHandler --> User
4645deactivate InputHandler
4746
4847@enduml
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ participant Loan as ":Loan"
99
1010User -> InputHandler : "view-loans"
1111activate InputHandler
12- activate InputHandler
1312 InputHandler -> InputParser : extractCommandArgs(userInputLine)
1413 activate InputParser
1514 InputParser --> InputHandler : commandArgs[]
@@ -24,8 +23,8 @@ activate InputHandler
2423 deactivate Formatter
2524 LoanList --> InputHandler
2625 else
27- activate Formatter
2826 LoanList -> Formatter : printLoanList(LoanList)
27+ activate Formatter
2928 loop for each Loan
3029 Formatter -> Loan : toString()
3130 activate Loan
@@ -37,11 +36,13 @@ activate InputHandler
3736 LoanList --> InputHandler
3837 deactivate LoanList
3938 end
40- else
39+ else else
4140 note over InputHandler
4241 other command cases
4342 end note
4443end
44+ InputHandler --> User
4545deactivate InputHandler
4646
47+
4748@enduml
You can’t perform that action at this time.
0 commit comments