Skip to content

Commit

Permalink
Change the "or" to "and" in the view leave sequence diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellaantania committed Nov 12, 2023
1 parent 42b6c90 commit 8cab8e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/diagrams/ViewLeaveCommandSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ ViewLeaveCommandParser -> HasLeaveAnyMonthPredicate : new HasLeaveAnyMonthPredic
activate HasLeaveAnyMonthPredicate

create MatchingDepartmentPredicate
HasLeaveAnyMonthPredicate -> MatchingDepartmentPredicate : or(new MatchingDepartmentPredicate(Engineering))
HasLeaveAnyMonthPredicate -> MatchingDepartmentPredicate : and(new MatchingDepartmentPredicate(Engineering))
activate MatchingDepartmentPredicate

MatchingDepartmentPredicate --> HasLeaveAnyMonthPredicate : combinedPredicate
MatchingDepartmentPredicate --> HasLeaveAnyMonthPredicate
deactivate MatchingDepartmentPredicate

HasLeaveAnyMonthPredicate --> ViewLeaveCommandParser
HasLeaveAnyMonthPredicate --> ViewLeaveCommandParser : combinedPredicate
deactivate HasLeaveAnyMonthPredicate

create ViewLeaveCommand
Expand Down
Binary file modified docs/images/ViewLeaveCommandSequenceDiagram.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 8cab8e0

Please sign in to comment.