File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ public void testFormatThrowsNullPointerException() {
474474 final CSVFormat cSVFormat = CSVFormat .MYSQL ;
475475
476476 try {
477- cSVFormat .format (null );
477+ cSVFormat .format (( Object []) null );
478478 fail ("Expecting exception: NullPointerException" );
479479 } catch (final NullPointerException e ) {
480480 assertEquals (CSVFormat .class .getName (), e .getStackTrace ()[0 ].getClassName ());
@@ -639,7 +639,6 @@ public void testSerialization() throws Exception {
639639 @ Test
640640 public void testToString () {
641641
642- final CSVFormat cSVFormat = CSVFormat .POSTGRESQL_TEXT ;
643642 final String string = CSVFormat .INFORMIX_UNLOAD .toString ();
644643
645644 assertEquals ("Delimiter=<|> Escape=<\\ > QuoteChar=<\" > RecordSeparator=<\n > EmptyLines:ignored SkipHeaderRecord:false" , string );
You can’t perform that action at this time.
0 commit comments