You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2011/11/10 01:41:43 UTC
svn commit: r1200065 -
/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java
Author: ebourg
Date: Thu Nov 10 00:41:43 2011
New Revision: 1200065
URL: http://svn.apache.org/viewvc?rev=1200065&view=rev
Log:
Changed the signature of CSVUtils.printLine() to use varargs
Modified:
commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java
Modified: commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java
URL: http://svn.apache.org/viewvc/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java?rev=1200065&r1=1200064&r2=1200065&view=diff
==============================================================================
--- commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java (original)
+++ commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVUtils.java Thu Nov 10 00:41:43 2011
@@ -48,7 +48,7 @@ public class CSVUtils {
* @return the CSV string, will be an empty string if the length of the
* value array is 0
*/
- public static String printLine(String[] values, CSVFormat format) {
+ public static String printLine(CSVFormat format, String... values) {
// set up a CSVUtils
StringWriter stringWriter = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(stringWriter, format);