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

Use File extension functions to make code more concise. #1996

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

johnjohndoe
Copy link
Contributor

  • This change replaces a few usages of ByteArrayInputStream, FileInputStream, FileOutputStream with their equivalent Kotlin extension functions.

Signed-off-by: Tobias Preuss tobias.preuss@googlemail.com


Feel free to rebase the branch before merging it to facilitate a linear history. Let me know if I should do this.

+ This change replaces a few usages of ByteArrayInputStream, FileInputStream,
  FileOutputStream with their equivalent Kotlin extension functions.
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@bmarty bmarty merged commit a5f537f into element-hq:develop Aug 25, 2020
@johnjohndoe johnjohndoe deleted the file-extensions branch August 25, 2020 16:17
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.

None yet

2 participants