Skip to content

Commit

Permalink
[MSHARED-803] set names on threads (#15)
Browse files Browse the repository at this point in the history
* set names on threads

* add whitspace
  • Loading branch information
elharo authored Feb 23, 2020
1 parent fec0848 commit 5f0ea24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,16 @@ public Integer call()
if ( systemIn != null )
{
inputFeeder = new StreamFeeder( systemIn, p.getOutputStream() );
inputFeeder.setName( "StreamFeeder-systemIn" );
inputFeeder.start();
}

outputPumper = new StreamPumper( p.getInputStream(), systemOut );
outputPumper.setName( "StreamPumper-systemOut" );
outputPumper.start();

errorPumper = new StreamPumper( p.getErrorStream(), systemErr );
errorPumper.setName( "StreamPumper-systemErr" );
errorPumper.start();

int returnValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* under the License.
*/

import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
Expand Down

0 comments on commit 5f0ea24

Please sign in to comment.