apupier commented on code in PR #25025:
URL: https://github.com/apache/camel/pull/25025#discussion_r3631402163
##########
components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConsumer.java:
##########
@@ -329,14 +326,13 @@ protected void processCommit(Exchange exchange) {
removeObject(srcBucketName, srcObjectName);
LOG.trace("Deleted object from bucket {} with objectName
{}...", srcBucketName, srcObjectName);
}
- } catch (MinioException | NoSuchAlgorithmException |
InvalidKeyException | IOException e) {
+ } catch (MinioException e) {
Review Comment:
IOException is not a RuntimeException and not declared as thrown, so we
cannot declare it in the catch block. it doesn't compile.
--
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]