-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanups: replaced File#delete with Files#delete #11762
Conversation
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
Are there any reasons why we should do that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll review more carefully tomorrow, but I think for now it would be OK to have it only on the TestSupport (w/ proper error handling) as both the performance impact would be smaller and the potential benefit greater.
As for others, this should probably come along with code that adjusts the calls to actually read the failure/errors from Files#delete
.
In short: adjust the code for the TestSupport and leave the others for a subsequent PR with the correct error handling.
3ba58de
to
6a085cd
Compare
270633e
to
823c226
Compare
/component-test camel-file Result ✅ The tests passed successfully |
🤖 The Apache Camel test robot will run the tests for you 👍 |
/component-test camel-kafka Result ✅ The tests passed successfully |
🤖 The Apache Camel test robot will run the tests for you 👍 |
No description provided.