Skip to content

Commit

Permalink
Fix uml diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
alfaloo committed Apr 15, 2024
1 parent 11ed408 commit b2a7780
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/diagrams/AddPatientCommandExecuteSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ end box
activate AddPatientCommand


AddPatientCommand -> Logger: log(Level.INFO, "Duplicate")
activate Logger
Logger -> Logger: log
Logger -> AddPatientCommand
deactivate Logger


alt model.hasPerson(toAdd)
AddPatientCommand -> Model: hasPerson(toAdd)
activate Model
Model -> AddPatientCommand
deactivate Model

AddPatientCommand -> Logger: log(Level.INFO, "Duplicate")
activate Logger
Logger -> Logger: log
Logger -> AddPatientCommand
deactivate Logger

[<--AddPatientCommand: throw CommandException()
else else
AddPatientCommand -> Model : hasPerson(toAdd)
Expand Down
Binary file modified docs/images/AddPatientCommandExecuteSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b2a7780

Please sign in to comment.