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 bd24713ed55..9274f62ee47 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Solenoid.java @@ -82,7 +82,9 @@ public void set(boolean on) { * Read the current value of the solenoid. * * @return True if the solenoid output is on or false if the solenoid output is off. + * @deprecated Use isOn or isOff instead */ + @Deprecated public boolean get() { int currentAll = m_module.getSolenoids(); return (currentAll & m_mask) != 0;