From d003a37ed1c85e959d85e7dae7c9cd9a2a02cb9a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 04:17:04 +0000 Subject: [PATCH] Formatting fixes --- .../wpi/first/wpilibj2/command/CommandScheduler.java | 6 ++++-- .../native/include/frc2/command/CommandScheduler.h | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java index 6685a0c2243..0f98e41f3f8 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java @@ -180,7 +180,8 @@ private void initCommand(Command command, Set requirements) { * using those requirements have been scheduled as interruptible. If this is the case, they will * be interrupted and the command will be scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + *

WARNING: using this function directly is often a footgun and should be avoided. Instead + * Triggers should be used to schedule Commands. * * @param command the command to schedule. If null, no-op. */ @@ -232,7 +233,8 @@ private void schedule(Command command) { /** * Schedules multiple commands for execution. Does nothing for commands already scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + *

WARNING: using this function directly is often a footgun and should be avoided. Instead + * Triggers should be used to schedule Commands. * * @param commands the commands to schedule. No-op on null. */ diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/CommandScheduler.h b/wpilibNewCommands/src/main/native/include/frc2/command/CommandScheduler.h index 78312ce61da..1ffbf4ff9f4 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/CommandScheduler.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/CommandScheduler.h @@ -87,7 +87,8 @@ class CommandScheduler final : public wpi::Sendable, * interruptible. If this is the case, they will be interrupted and the * command will be scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + * WARNING: using this function directly is often a footgun and should be + * avoided. Instead Triggers should be used to schedule Commands. * * @param command the command to schedule */ @@ -100,7 +101,8 @@ class CommandScheduler final : public wpi::Sendable, * scheduled as interruptible. If this is the case, they will be interrupted * and the command will be scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + * WARNING: using this function directly is often a footgun and should be + * avoided. Instead Triggers should be used to schedule Commands. * * @param command the command to schedule */ @@ -110,7 +112,8 @@ class CommandScheduler final : public wpi::Sendable, * Schedules multiple commands for execution. Does nothing for commands * already scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + * WARNING: using this function directly is often a footgun and should be + * avoided. Instead Triggers should be used to schedule Commands. * * @param commands the commands to schedule */ @@ -120,7 +123,8 @@ class CommandScheduler final : public wpi::Sendable, * Schedules multiple commands for execution. Does nothing for commands * already scheduled. * - * WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + * WARNING: using this function directly is often a footgun and should be + * avoided. Instead Triggers should be used to schedule Commands. * * @param commands the commands to schedule */