Skip to content

Commit

Permalink
formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
narmstro2020 committed Dec 26, 2024
1 parent 9adadfc commit 5867ba3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wpilibc/src/main/native/include/frc/Solenoid.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Solenoid : public wpi::Sendable, public wpi::SendableHelper<Solenoid> {

/**
* 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.
*
Expand Down
8 changes: 3 additions & 5 deletions wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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.
*/
Expand Down

0 comments on commit 5867ba3

Please sign in to comment.