mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-27 21:39:05 +00:00
Address compiler warnings.
This commit is contained in:
parent
bf3f34c8b5
commit
e24dc316d4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user