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
This commit is contained in:
Emmanuel Bourg 2011-11-10 00:41:43 +00:00
parent 9cb66ca7fb
commit 2417ea6c4e
1 changed files with 1 additions and 1 deletions

View File

@ -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);