[wpilib] Remove deprecated Sendable functions and SendableBase (#3210)

This commit is contained in:
Peter Johnson
2021-03-19 13:41:11 -07:00
committed by GitHub
parent d3e45c297c
commit 8afa596fdf
9 changed files with 3 additions and 193 deletions

View File

@@ -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);
}

View File

@@ -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);
}