diff --git a/src/main/java/org/apache/commons/csv/CSVUtils.java b/src/main/java/org/apache/commons/csv/CSVUtils.java index cb1c2321..7cec27a8 100644 --- a/src/main/java/org/apache/commons/csv/CSVUtils.java +++ b/src/main/java/org/apache/commons/csv/CSVUtils.java @@ -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);