You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by dweiss <gi...@git.apache.org> on 2018/01/14 11:16:47 UTC

[GitHub] commons-compress pull request #60: Replace custom 'dummy' byte addition for ...

GitHub user dweiss opened a pull request:

    https://github.com/apache/commons-compress/pull/60

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

    …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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dweiss/commons-compress dummyByte

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-compress/pull/60.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #60
    
----
commit 49fa6740524dbcad89564d897de1806aef1dd92c
Author: Dawid Weiss <da...@...>
Date:   2018-01-14T10:20:02Z

    Replace custom 'dummy' byte addition for the odd inflater contract with 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.

----


---

[GitHub] commons-compress issue #60: Replace custom 'dummy' byte addition for the odd...

Posted by dweiss <gi...@git.apache.org>.
Github user dweiss commented on the issue:

    https://github.com/apache/commons-compress/pull/60
  
    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.


---

[GitHub] commons-compress issue #60: Replace custom 'dummy' byte addition for the odd...

Posted by coveralls <gi...@git.apache.org>.
Github user coveralls commented on the issue:

    https://github.com/apache/commons-compress/pull/60
  
    
    [![Coverage Status](https://coveralls.io/builds/15042075/badge)](https://coveralls.io/builds/15042075)
    
    Coverage decreased (-0.06%) to 86.003% when pulling **49fa6740524dbcad89564d897de1806aef1dd92c on dweiss:dummyByte** into **c66db899cb061c79934986f0efa19a50ca33703f on apache:master**.



---

[GitHub] commons-compress issue #60: Replace custom 'dummy' byte addition for the odd...

Posted by dweiss <gi...@git.apache.org>.
Github user dweiss commented on the issue:

    https://github.com/apache/commons-compress/pull/60
  
    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.


---

[GitHub] commons-compress issue #60: Replace custom 'dummy' byte addition for the odd...

Posted by bodewig <gi...@git.apache.org>.
Github user bodewig commented on the issue:

    https://github.com/apache/commons-compress/pull/60
  
    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.


---

[GitHub] commons-compress pull request #60: Replace custom 'dummy' byte addition for ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/commons-compress/pull/60


---