File tree Expand file tree Collapse file tree 7 files changed +5
-5
lines changed
Expand file tree Collapse file tree 7 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 8181 Book --> InputHandler
8282 deactivate Book
8383
84- InputHandler -> Formatter : printBorderedMessage("Loan added successfully")
84+ InputHandler -> Formatter : printBorderedMessage("Loan added successfully for book: {BOOK_TITLE} ")
8585 activate Formatter
8686
8787 Formatter --> InputHandler
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ activate InputHandler
2222 BookList --> InputHandler : toRemove
2323 deactivate BookList
2424 alt toRemove == null
25- InputHandler -> Formatter : printBorderedMessage("Book not found")
25+ InputHandler -> Formatter : printBorderedMessage("Book not found in inventory: {BOOK_TITLE} ")
2626 activate Formatter
2727 Formatter --> InputHandler
2828 deactivate Formatter
@@ -40,7 +40,7 @@ activate InputHandler
4040 activate Storage
4141 Storage --> InputHandler
4242 deactivate Storage
43- InputHandler -> Formatter : printBorderedMessage("Removed book")
43+ InputHandler -> Formatter : printBorderedMessage("Removed book: {BOOK_TITLE} ")
4444 activate Formatter
4545 Formatter --> InputHandler
4646 deactivate Formatter
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ alt commandArgs[0] == update-book
4848 Formatter --> InputHandler
4949 deactivate Formatter
5050 end
51- InputHandler -> Book : setBookFields (...)
51+ InputHandler -> Book : setRelevantFields (...)
5252 activate Book
5353 Book --> InputHandler
5454 deactivate Book
5555
56- InputHandler -> Formatter : printBorderedMessage("Book Updated: {BOOK }")
56+ InputHandler -> Formatter : printBorderedMessage("Book Updated: {Book }")
5757 activate Formatter
5858
5959 Formatter --> InputHandler
You can’t perform that action at this time.
0 commit comments