| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
well, rather better idea is to move SequenceMessageBufferInput to test package. I think there're little demand for it. How do you think, @xerial? |
Sorry, something went wrong.
|
@frsyuki Just move it to test package. I think there will be no handy way to close a sequence of streams while managing there lifecycle. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I commented as #387 (review) but I changed my mind: I think it's ok to keep SequenceMessageBufferInput as a mimic of SequenceInputStream. We can create another class if necessary.
A reason is that behavior of SequenceMessageBufferInput.close (which is same withSequenceInputStream.close) is surprising, in my opinion. I expect that it closes input sequence without reading buffers. But they consume all of them. However, change of the behavior is also surprising because its behavior becomes inconsistent from SequenceInputStream.