From 5867ba39ec60ed9d5b047c603bb56c44b7ba5a48 Mon Sep 17 00:00:00 2001 From: Nicholas Armstrong Date: Thu, 26 Dec 2024 09:21:21 -0500 Subject: [PATCH] formatting fixes. --- wpilibc/src/main/native/include/frc/Solenoid.h | 2 +- wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/Solenoid.h b/wpilibc/src/main/native/include/frc/Solenoid.h index 5f75435fd31..204b1db4ec9 100644 --- a/wpilibc/src/main/native/include/frc/Solenoid.h +++ b/wpilibc/src/main/native/include/frc/Solenoid.h @@ -64,7 +64,7 @@ class Solenoid : public wpi::Sendable, public wpi::SendableHelper { /** * Returns true if the solenoid is on. - * This is an alias for the Get method. + * This is an alias for the Get method. * * @return true if the solenoid is on. * diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java index 621d7eaedc7..02e8db494c9 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java @@ -79,9 +79,8 @@ public void set(boolean on) { } /** - * Read the current value of the solenoid. - * This is an alias for the isOn method. - * + * Read the current value of the solenoid. This is an alias for the isOn method. + * * @return True if the solenoid output is on or false if the solenoid output is off. */ public boolean get() { @@ -90,8 +89,7 @@ public boolean get() { } /** - * Returns true if the solenoid is on. - * This is an alias for the get method. + * Returns true if the solenoid is on. This is an alias for the get method. * * @return true if the solenoid is on. */