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

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

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

kcalcagno
Copy link
Contributor

@kcalcagno kcalcagno commented Nov 3, 2021

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 alexmojaki merged commit def42c5 into alexmojaki:master Nov 3, 2021
@alexmojaki
Copy link
Owner

Thanks! Will release soon.

@alexmojaki
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling abort before the upload has been initiated results in NPE
2 participants