mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpiutil] Remove Protobuf.getNested() (#6812)
It was superseded by using FileDescriptor.getDependencies().
This commit is contained in:
@@ -22,11 +22,6 @@ public class MecanumDriveKinematicsProto
|
||||
return ProtobufMecanumDriveKinematics.getDescriptor();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Protobuf<?, ?>[] getNested() {
|
||||
return new Protobuf<?, ?>[] {Translation2d.proto};
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtobufMecanumDriveKinematics createMessage() {
|
||||
return ProtobufMecanumDriveKinematics.newInstance();
|
||||
|
||||
@@ -22,11 +22,6 @@ public class SwerveModulePositionProto
|
||||
return ProtobufSwerveModulePosition.getDescriptor();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Protobuf<?, ?>[] getNested() {
|
||||
return new Protobuf<?, ?>[] {Rotation2d.proto};
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtobufSwerveModulePosition createMessage() {
|
||||
return ProtobufSwerveModulePosition.newInstance();
|
||||
|
||||
@@ -22,11 +22,6 @@ public class SwerveModuleStateProto
|
||||
return ProtobufSwerveModuleState.getDescriptor();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Protobuf<?, ?>[] getNested() {
|
||||
return new Protobuf<?, ?>[] {Rotation2d.proto};
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtobufSwerveModuleState createMessage() {
|
||||
return ProtobufSwerveModuleState.newInstance();
|
||||
|
||||
Reference in New Issue
Block a user