From 7aeddef435c562ed3b84958e74623d47679f7a8d Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Sun, 14 Oct 2012 04:36:51 +0000 Subject: [PATCH] Change the type of printer API to accept Object instead of String. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398006 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 1cecbe75..ccc64c34 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -510,7 +510,7 @@ public class CSVFormat implements Serializable { * @param values * the values to format */ - public String format(final String... values) { + public String format(final Object... values) { final StringWriter out = new StringWriter(); try { new CSVPrinter(out, this).println(values);