Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
katzuv committed Oct 13, 2024
1 parent 030fb8e commit f26339c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ public ParallelRaceGroup until(BooleanSupplier condition) {
}

/**
* Decorates this command with a condition to wait for after this command is finished. The command will finish after
* this condition is met.
* Decorates this command with a condition to wait for after this command is finished. The command
* will finish after this condition is met.
*
* <p>Note: This decorator works by adding this command to a composition. The command the
* decorator was called on cannot be scheduled independently or be added to a different
Expand All @@ -217,9 +217,9 @@ public SequentialCommandGroup thenAwait(BooleanSupplier condition) {
return andThen(Commands.waitUntil(condition));
}

/**
* Decorates this command with a time to pass after this command is finished. The command will finish after
* this time has passed.
/**
* Decorates this command with a time to pass after this command is finished. The command will
* finish after this time has passed.
*
* <p>Note: This decorator works by adding this command to a composition. The command the
* decorator was called on cannot be scheduled independently or be added to a different
Expand All @@ -234,9 +234,9 @@ public SequentialCommandGroup thenWait(double seconds) {
return andThen(Commands.waitSeconds(seconds));
}

/**
* Decorates this command with a timeout to pass for after this command is finished. The command will finish after
* this timeout has passed.
/**
* Decorates this command with a timeout to pass for after this command is finished. The command
* will finish after this timeout has passed.
*
* <p>Note: This decorator works by adding this command to a composition. The command the
* decorator was called on cannot be scheduled independently or be added to a different
Expand All @@ -251,7 +251,6 @@ public SequentialCommandGroup thenWait(Time time) {
return thenWait(time.in(Seconds));
}


/**
* Decorates this command with a run condition. If the specified condition becomes false before
* the command finishes normally, the command will be interrupted and un-scheduled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ void thenWaitTest() {
}
}


@Test
void onlyWhileTest() {
try (CommandScheduler scheduler = new CommandScheduler()) {
Expand Down

0 comments on commit f26339c

Please sign in to comment.