[wpiutil] Remove Protobuf.getNested() (#6812)

It was superseded by using FileDescriptor.getDependencies().
This commit is contained in:
Joseph Eng
2024-07-08 06:59:05 -07:00
committed by GitHub
parent 6478ba6e3f
commit 3d22eeca9d
13 changed files with 0 additions and 69 deletions

View File

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

View File

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

View File

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