kbendick commented on a change in pull request #1427:
URL: https://github.com/apache/iceberg/pull/1427#discussion_r483929275
##########
File path: spark/src/main/java/org/apache/iceberg/spark/SparkExceptionUtil.java
##########
@@ -39,7 +40,9 @@ private SparkExceptionUtil() {
* @param args format specifiers
* @return unchecked exception.
*/
- public static RuntimeException toUncheckedException(Throwable cause, String
message, Object... args) {
+ @FormatMethod
+ public static RuntimeException toUncheckedException(final Throwable cause,
final String message,
Review comment:
You'll find no complaints from me for marking variables as `final`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]