mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Fix JDK 21 warnings (#6028)
This commit is contained in:
@@ -10,6 +10,7 @@ import edu.wpi.first.util.sendable.SendableRegistry;
|
||||
|
||||
/** A mock sendable that marks itself as an actuator. */
|
||||
public class MockActuatorSendable implements Sendable {
|
||||
@SuppressWarnings("this-escape")
|
||||
public MockActuatorSendable(String name) {
|
||||
SendableRegistry.add(this, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user