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

Reduce stream handling duplication in FileUtil #1015

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

bertm
Copy link
Contributor

@bertm bertm commented Nov 30, 2024

There are a lot of while (not completed reading/writing) { read/write some more! } implementations in FileUtil for similar purposes. Reuse existing copy and readUTF implementations where possible.

Copy link
Contributor

@ArneBab ArneBab 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 to me

@ArneBab ArneBab merged commit fcc6e92 into hyphanet:next Dec 1, 2024
1 check passed
@ArneBab
Copy link
Contributor

ArneBab commented Dec 1, 2024

Merged — thank you!

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.

2 participants