Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit a1b4a4d

Browse files
committed
Don't use deprecated code
1 parent 394e65c commit a1b4a4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/csv/CSVPrinterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ public void testPrintRecordsWithCSVRecord() throws IOException {
15161516
public void testPrintRecordsWithEmptyVector() throws IOException {
15171517
final PrintStream out = System.out;
15181518
try {
1519-
System.setOut(new PrintStream(NullOutputStream.NULL_OUTPUT_STREAM));
1519+
System.setOut(new PrintStream(NullOutputStream.INSTANCE));
15201520
try (CSVPrinter csvPrinter = CSVFormat.POSTGRESQL_TEXT.printer()) {
15211521
final Vector<CSVFormatTest.EmptyEnum> vector = new Vector<>();
15221522
final int expectedCapacity = 23;

0 commit comments

Comments
 (0)