rdblue commented on pull request #1493: URL: https://github.com/apache/iceberg/pull/1493#issuecomment-698048650
Does it fix the warning to use a lambda and cast to `Consumer` instead? This could be something like: ```java Consumer<String> defaultDelete = (Consumer<String>) file -> io.delete(file); ``` ---------------------------------------------------------------- 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]
