From 7909a7c3860a6d5a15b60e2257daee795ce4127c Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Wed, 31 Jul 2013 15:51:20 +0000 Subject: [PATCH] Fix boxing and unboxing warnings. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1508940 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVRecord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index d82cc522..415557f7 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -88,7 +88,7 @@ public class CSVRecord implements Serializable, Iterable { 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))); } }