Skip to content
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

Issue #11944 - Part.delete() should only attempt to delete if the file exists #11945

Merged

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Jun 21, 2024

Change from blanket Files.delete(path) to Files.deleteIfExists(path) instead.

Fixes: #11944

@joakime joakime merged commit 930ebc4 into jetty-12.0.x Jun 24, 2024
10 checks passed
@joakime joakime deleted the fix/12.0.x/multipart-part-delete-existence-check branch June 24, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Jetty Part#delete() implementation throws IOException
3 participants