Skip to content

Commit 73535b0

Browse files
matthewhillierReidWeb
authored andcommitted
Removed unnecessary stream hijacking.
1 parent 2a6cc78 commit 73535b0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/test/java/com/ffxivcensus/gatherer/GathererControllerTest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ public class GathererControllerTest {
5252
*/
5353
private static String dbHost;
5454

55-
private final ByteArrayOutputStream outContent = new ByteArrayOutputStream();
56-
private final ByteArrayOutputStream errContent = new ByteArrayOutputStream();
57-
5855
@BeforeClass
5956
public static void setUpBaseClass() {
6057
try {
@@ -74,8 +71,6 @@ public static void setUpBaseClass() {
7471
*/
7572
@org.junit.Before
7673
public void setUpDB() {
77-
System.setOut(new PrintStream(outContent));
78-
System.setErr(new PrintStream(errContent));
7974
StringBuilder sbSQL = new StringBuilder();
8075
//DROP existing test tables
8176
sbSQL.append("DROP TABLE tblplayers_test;");
@@ -95,12 +90,6 @@ public void setUpDB() {
9590
closeConnection(conn);
9691
}
9792

98-
@org.junit.After
99-
public void cleanUpStreams() {
100-
System.setOut(null);
101-
System.setErr(null);
102-
}
103-
10493
/**
10594
* Test gathering run of range from 11886902 to 11887010
10695
*

0 commit comments

Comments
 (0)