mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Remove extra newlines after open curly braces (NFC) (#3471)
This commit is contained in:
@@ -16,7 +16,6 @@ import java.util.function.BooleanSupplier;
|
||||
* specified explicitly from the command implementation.
|
||||
*/
|
||||
public interface Command {
|
||||
|
||||
/** The initial subroutine of a command. Called once when the command is initially scheduled. */
|
||||
default void initialize() {}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ import java.util.Set;
|
||||
|
||||
/** A {@link Sendable} base class for {@link Command}s. */
|
||||
public abstract class CommandBase implements Sendable, Command {
|
||||
|
||||
protected Set<Subsystem> m_requirements = new HashSet<>();
|
||||
|
||||
protected CommandBase() {
|
||||
|
||||
@@ -194,7 +194,6 @@ public class MecanumControllerCommand extends CommandBase {
|
||||
Supplier<MecanumDriveWheelSpeeds> currentWheelSpeeds,
|
||||
Consumer<MecanumDriveMotorVoltages> outputDriveVoltages,
|
||||
Subsystem... requirements) {
|
||||
|
||||
this(
|
||||
trajectory,
|
||||
pose,
|
||||
|
||||
@@ -20,7 +20,6 @@ package edu.wpi.first.wpilibj2.command;
|
||||
* base for user implementations that handles this.
|
||||
*/
|
||||
public interface Subsystem {
|
||||
|
||||
/**
|
||||
* This method is called periodically by the {@link CommandScheduler}. Useful for updating
|
||||
* subsystem-specific state that you don't want to offload to a {@link Command}. Teams should try
|
||||
|
||||
@@ -13,7 +13,6 @@ import edu.wpi.first.util.sendable.SendableRegistry;
|
||||
* method for setting the default command.
|
||||
*/
|
||||
public abstract class SubsystemBase implements Subsystem, Sendable {
|
||||
|
||||
/** Constructor. */
|
||||
public SubsystemBase() {
|
||||
String name = this.getClass().getSimpleName();
|
||||
|
||||
Reference in New Issue
Block a user