commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1508940 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
Date Wed, 31 Jul 2013 15:51:20 GMT
Author: ggregory
Date: Wed Jul 31 15:51:20 2013
New Revision: 1508940

URL: http://svn.apache.org/r1508940
Log:
Fix boxing and unboxing warnings.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java?rev=1508940&r1=1508939&r2=1508940&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java Wed Jul 31
15:51:20 2013
@@ -88,7 +88,7 @@ public class CSVRecord implements Serial
             throw new IllegalArgumentException(
                     String.format(
                             "Index for header '%s' is %d but CSVRecord only has %d values!",
-                            name, index.intValue(), values.length));
+                            name, index, Integer.valueOf(values.length)));
         }
     }
 



Mime
View raw message