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 e24dc31  Address compiler warnings.
e24dc31 is described below

commit e24dc316d471c7ad29384a976f8f2ba10375150a
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Sun Feb 24 10:12:42 2019 -0500

    Address compiler warnings.
---
 src/test/java/org/apache/commons/csv/CSVFormatTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java 
b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 641ae50..a85c441 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
@@ -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);

Reply via email to