alexmojaki / s3-stream-upload

Manages streaming of data to AWS S3 without knowing the size beforehand and without keeping it all in memory or writing to disk.
MIT License
208 stars 62 forks source link

Fix #37 - use String.valueOf to protect against null uploadId in toString #38

Closed kcalcagno closed 3 years ago

kcalcagno commented 3 years ago

Fixes #37. The end result will be the uploadId being written as null if it is null, which is fine for the edge case this protects against. Better than throwing NPE, at least.

alexmojaki commented 3 years ago

Thanks! Will release soon.

alexmojaki commented 3 years ago

Released, just gotta wait a bit now for it to appear in https://mvnrepository.com/artifact/com.github.alexmojaki/s3-stream-upload/