Sarankumar18 opened a new pull request, #857:
URL: https://github.com/apache/commons-io/pull/857

   IOUtils.closeQuietly() ignores exceptions thrown during close, which is 
useful for cleanup paths but can be unsafe when closing output streams or 
writers after successful writes.
   
   This PR clarifies the Javadocs to warn that output close failures may 
indicate buffered data was not fully written. It also removes examples that 
used closeQuietly() after IOUtils.copy(), since those examples could encourage 
ignoring output close errors.
   
   No runtime behavior changed.
   
   Resolves [IO-438](https://issues.apache.org/jira/browse/IO-438).
   
   Checklist:
   - [x] Read the contribution guidelines for this project.
   - [x] Read the ASF Generative Tooling Guidance.
   - [x] Ran `mvn -Drat.skip=true -DskipTests javadoc:javadoc`


-- 
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]

Reply via email to