adoroszlai opened a new pull request #3189: URL: https://github.com/apache/ozone/pull/3189
## What changes were proposed in this pull request? Avoid frequent usage of `values()` in component version enums by implementing `toProtoValue` as a map lookup. https://issues.apache.org/jira/browse/HDDS-6439 ## How was this patch tested? ``` [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.hadoop.hdds.TestComponentVersionInvariants ``` https://github.com/adoroszlai/hadoop-ozone/runs/5533214782#step:5:3181 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
