Skip to content

Accept all InputStreams for FileCreateParams.setFile#1180

Merged
richardm-stripe merged 1 commit intomasterfrom
ob-fix-1170
Feb 10, 2021
Merged

Accept all InputStreams for FileCreateParams.setFile#1180
richardm-stripe merged 1 commit intomasterfrom
ob-fix-1170

Conversation

@ob-stripe
Copy link
Contributor

r? @richardm-stripe
cc @stripe/api-libraries

Change FileCreateParams.setFile to accept any InputStream. Since InputStream is a supertype of FileInputStream, this is not a breaking change.

Fixes #1170.

Copy link
Contributor

@richardm-stripe richardm-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'll take the release.

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.

FileCreateParams.setFile does not accept an input stream

2 participants