mxm opened a new pull request, #15494: URL: https://github.com/apache/iceberg/pull/15494
This gets rid of 257 warnings in the build of iceberg-core, all of them caused by these two ErrorProne rules: - StatementSwitchToExpressionSwitch: https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch - PatternMatchingInstanceof: https://errorprone.info/bugpattern/PatternMatchingInstanceof After these changes, there are no warnings left in iceberg-core. Overall, these changes make the code more readable and less error-prone, e.g. no more casts after `instanceof`, no more forgetting `break` statements in switch statements, switch expressions are exhaustive by default. -- 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]
