alphagov / notifications-java-client

Java client for the GOV.UK Notify API
https://central.sonatype.com/artifact/uk.gov.service.notify/notifications-java-client
MIT License
8 stars 30 forks source link

Rationalise prepareUpload methods #242

Open willp-bl opened 5 months ago

willp-bl commented 5 months ago

What problem does the pull request solve?

Now only one (internal) prepareUpload exists. Note this doesn't change the external API. The new internal method uses a boxed boolean (Boolean) so it can be null when called from the existing prepareUpload() methods.

Checklist