Skip to content

Commit 0d0242a

Browse files
Merge pull request #235 from Phua-Lock-Hian/lockhian-docscheck
DG edits to reflect correct output for sequence diagrams, and class diagram edit for proper note positions
2 parents 75eb729 + 799e68a commit 0d0242a

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

docs/diagrams/addLoan.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ end
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

docs/diagrams/removeBook.puml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

docs/diagrams/updateBook.puml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

docs/images/addLoan.png

1.29 KB
Loading

docs/images/classDiagram.png

52.3 KB
Loading

docs/images/removeBook.png

18.9 KB
Loading

docs/images/updateBook.png

19.1 KB
Loading

0 commit comments

Comments
 (0)