Skip to content

Commit

Permalink
Use 'include' instead of 'adopt' in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jul 8, 2023
1 parent 13f84de commit 91f95ab
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,11 @@ public boolean references(Parameter param) {

/**
* Return {@code true} if this federate includes the given action from the top-level of the
* federation, which is necessary when the federate adopts a reaction that uses the given action.
* federation, which is necessary when the federate includes a reaction that references the given
* action.
*
* <p>Specifically, this means that either the action is used as a trigger, a source, or an effect
* in a top-level reaction that is adopted by this federate.
* in a top-level reaction that is included by this federate.
*
* @param action The action to check if it is to be included.
*/
Expand Down Expand Up @@ -386,7 +387,7 @@ public boolean includes(Reaction reaction) {

/**
* Return {@code true} if this federate includes the given timer from the top-level of the
* federation, which is necessary when the federate adopts a reaction that uses the given timer.
* federation, which is necessary when the federate includes a reaction that uses the given timer.
*
* <p>Specifically, this means that either the timer is used as a trigger in a top-level reaction
* that is included by this federate.
Expand Down

0 comments on commit 91f95ab

Please sign in to comment.