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

Replace custom 'dummy' byte addition for the odd inflater contract wi… #60

Closed
wants to merge 1 commit into from

Conversation

dweiss
Copy link
Contributor

@dweiss dweiss commented Jan 14, 2018

…th a sequence input stream. Clean up the code a bit. I did not use NOSONAR flags because I don't use sonar, so it may require some tweaking.

…th a sequence input stream. Clean up the code a bit. I did not use NOSONAR flags because I don't use sonar, so it may require some tweaking.
@dweiss
Copy link
Contributor Author

dweiss commented Jan 14, 2018

Also, to be honest -- this boundedinputstream has synchronized read methods and I've no idea why they're there. I don't think we have to create thread-safe streams here (is this a requirement anyhow?). This isn't included in the patch, but I'd drop synchronized from boundedinputstream entirely.

@coveralls
Copy link

coveralls commented Jan 14, 2018

Coverage Status

Coverage decreased (-0.06%) to 86.003% when pulling 49fa674 on dweiss:dummyByte into c66db89 on apache:master.

@bodewig
Copy link
Member

bodewig commented Jan 14, 2018

your PR and 43e8d3d collided mid-flight, sorry about that, I'll incorporate a few of your changes that I have missed.

Honestly, I don't recall why the methods are synchronized anymore either.

@asfgit asfgit closed this in b2fac80 Jan 14, 2018
@dweiss
Copy link
Contributor Author

dweiss commented Jan 14, 2018

No problem at all; sorry I missed that other place that was using the inflater (glad you spotted it); had kids on my back and couldn't focus.

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