Skip to content

Commit 2417ea6

Browse files
committed
Changed the signature of CSVUtils.printLine() to use varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200065 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9cb66ca commit 2417ea6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/csv/CSVUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public CSVUtils() {
4848
* @return the CSV string, will be an empty string if the length of the
4949
* value array is 0
5050
*/
51-
public static String printLine(String[] values, CSVFormat format) {
51+
public static String printLine(CSVFormat format, String... values) {
5252
// set up a CSVUtils
5353
StringWriter stringWriter = new StringWriter();
5454
CSVPrinter csvPrinter = new CSVPrinter(stringWriter, format);

0 commit comments

Comments
 (0)