mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Remove deprecated Sendable functions and SendableBase (#3210)
This commit is contained in:
@@ -45,7 +45,6 @@ public abstract class CommandBase implements Sendable, Command {
|
||||
*
|
||||
* @param name name
|
||||
*/
|
||||
@Override
|
||||
public void setName(String name) {
|
||||
SendableRegistry.setName(this, name);
|
||||
}
|
||||
@@ -66,7 +65,6 @@ public abstract class CommandBase implements Sendable, Command {
|
||||
*
|
||||
* @return Subsystem name
|
||||
*/
|
||||
@Override
|
||||
public String getSubsystem() {
|
||||
return SendableRegistry.getSubsystem(this);
|
||||
}
|
||||
@@ -76,7 +74,6 @@ public abstract class CommandBase implements Sendable, Command {
|
||||
*
|
||||
* @param subsystem subsystem name
|
||||
*/
|
||||
@Override
|
||||
public void setSubsystem(String subsystem) {
|
||||
SendableRegistry.setSubsystem(this, subsystem);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ public abstract class SubsystemBase implements Subsystem, Sendable {
|
||||
*
|
||||
* @return Name
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return SendableRegistry.getName(this);
|
||||
}
|
||||
@@ -37,7 +36,6 @@ public abstract class SubsystemBase implements Subsystem, Sendable {
|
||||
*
|
||||
* @param name name
|
||||
*/
|
||||
@Override
|
||||
public void setName(String name) {
|
||||
SendableRegistry.setName(this, name);
|
||||
}
|
||||
@@ -47,7 +45,6 @@ public abstract class SubsystemBase implements Subsystem, Sendable {
|
||||
*
|
||||
* @return Subsystem name
|
||||
*/
|
||||
@Override
|
||||
public String getSubsystem() {
|
||||
return SendableRegistry.getSubsystem(this);
|
||||
}
|
||||
@@ -57,7 +54,6 @@ public abstract class SubsystemBase implements Subsystem, Sendable {
|
||||
*
|
||||
* @param subsystem subsystem name
|
||||
*/
|
||||
@Override
|
||||
public void setSubsystem(String subsystem) {
|
||||
SendableRegistry.setSubsystem(this, subsystem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user