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:
parent
9cb66ca7fb
commit
2417ea6c4e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue