LuckysHorizon opened a new pull request, #118:
URL: https://github.com/apache/maven-shared-io/pull/118

   ## Summary
   
   This pull request fixes issue #95 by providing safe default values when
   `URLLocation` creates a temporary file using `Files.createTempFile(...)`.
   
   Previously, passing `null` as the prefix or suffix resulted in a
   `NullPointerException`.
   
   ### Changes
   
   - Use `"url"` as the default prefix when the provided prefix is `null`
   - Use `".tmp"` as the default suffix when the provided suffix is `null`
   - Add a regression test covering this behavior
   
   Fixes #95


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