This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push: new a1b4a4d6 Don't use deprecated code a1b4a4d6 is described below commit a1b4a4d668680661d6d6702ab86a2abce8f5bd4d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 12 12:56:54 2023 -0500 Don't use deprecated code --- src/test/java/org/apache/commons/csv/CSVPrinterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java index 6cc542dd..a044ee59 100644 --- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java +++ b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java @@ -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;