Skip to content

Commit

Permalink
fix return description
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Dec 10, 2022
1 parent a744136 commit f7083a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public boolean getAsBoolean() {
* Composes two triggers with logical AND.
*
* @param trigger the condition to compose with
* @return A trigger which is active when either component trigger is active.
* @return A trigger which is active when both component triggers are active.
*/
public Trigger and(BooleanSupplier trigger) {
return new Trigger(() -> m_condition.getAsBoolean() && trigger.getAsBoolean());
Expand Down

0 comments on commit f7083a2

Please sign in to comment.