Skip to content

HDDS-7151. Avoid using GeneratedMessage in non-generated code#3699

Merged
adoroszlai merged 2 commits intoapache:masterfrom
adoroszlai:HDDS-7151
Aug 23, 2022
Merged

HDDS-7151. Avoid using GeneratedMessage in non-generated code#3699
adoroszlai merged 2 commits intoapache:masterfrom
adoroszlai:HDDS-7151

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

GeneratedMessage is Protobuf implementation detail and should not be used by non-generated code. Replace with usage of the Message interface. This is in preparation of Protobuf upgrade, since Protobuf 3 generates GeneratedMessageV3 instead.

https://issues.apache.org/jira/browse/HDDS-7151

How was this patch tested?

https://github.com/adoroszlai/hadoop-ozone/actions/runs/2889775897

@adoroszlai adoroszlai self-assigned this Aug 19, 2022
@adoroszlai adoroszlai merged commit 8bb3d6e into apache:master Aug 23, 2022
@adoroszlai adoroszlai deleted the HDDS-7151 branch August 23, 2022 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants