Closed mswiech closed 8 years ago
I think that class InputStreamConsumerThread
is too complicated. I would transform all possible "output objects" to either OutputStream
or Writer
and use only one method to write. You duplicate some code. Then your class can have only one main constructor and other constructors only prepare proper "output object". What do you think?
Refactored and tested.
Tests passed. Does not tested on aix.