mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-16 23:16:01 +00:00
Don't use deprecated code
This commit is contained in:
parent
394e65c05f
commit
a1b4a4d668
@ -1516,7 +1516,7 @@ public class CSVPrinterTest {
|
||||
public void testPrintRecordsWithEmptyVector() throws IOException {
|
||||
final PrintStream out = System.out;
|
||||
try {
|
||||
System.setOut(new PrintStream(NullOutputStream.NULL_OUTPUT_STREAM));
|
||||
System.setOut(new PrintStream(NullOutputStream.INSTANCE));
|
||||
try (CSVPrinter csvPrinter = CSVFormat.POSTGRESQL_TEXT.printer()) {
|
||||
final Vector<CSVFormatTest.EmptyEnum> vector = new Vector<>();
|
||||
final int expectedCapacity = 23;
|
||||
|
Loading…
x
Reference in New Issue
Block a user