You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/10/14 06:36:52 UTC
svn commit: r1398006 -
/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Author: ggregory
Date: Sun Oct 14 04:36:51 2012
New Revision: 1398006
URL: http://svn.apache.org/viewvc?rev=1398006&view=rev
Log:
Change the type of printer API to accept Object instead of String.
Modified:
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1398006&r1=1398005&r2=1398006&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Sun Oct 14 04:36:51 2012
@@ -510,7 +510,7 @@ public class CSVFormat implements Serial
* @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);