Address compiler warnings.

This commit is contained in:
Gary Gregory 2019-02-24 10:12:42 -05:00
parent bf3f34c8b5
commit e24dc316d4

View File

@ -474,7 +474,7 @@ public class CSVFormatTest {
final CSVFormat cSVFormat = CSVFormat.MYSQL;
try {
cSVFormat.format(null);
cSVFormat.format((Object[]) null);
fail("Expecting exception: NullPointerException");
} catch(final NullPointerException e) {
assertEquals(CSVFormat.class.getName(), e.getStackTrace()[0].getClassName());
@ -639,7 +639,6 @@ public class CSVFormatTest {
@Test
public void testToString() {
final CSVFormat cSVFormat = CSVFormat.POSTGRESQL_TEXT;
final String string = CSVFormat.INFORMIX_UNLOAD.toString();
assertEquals("Delimiter=<|> Escape=<\\> QuoteChar=<\"> RecordSeparator=<\n> EmptyLines:ignored SkipHeaderRecord:false", string);