[
https://issues.apache.org/jira/browse/CSV-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374918#comment-17374918
]
Amar Prakash Pandey edited comment on CSV-271 at 7/5/21, 4:15 PM:
------------------------------------------------------------------
[~ggregory] After merging PR #157, the method {color:#00875a}public void
printRecord(final Appendable appendable, final Object... values)
{color}{color:#ffab00}{color:#172b4d}in _CSVFormat.java_{color}{color} is
unused. I think we can remove that.
{color:#172b4d}Let me know what you think.{color}
was (Author: amarlearning):
[~ggregory] After merging PR #157, the method {color:#00875a}public void
printRecord(final Appendable appendable, final Object... values) {color}
{color:#172b4d}{color:#172b4d}{color:#ffab00}in CSVFormat.java{color} is
unused. I think we can remove that.{color}{color}
{color:#172b4d}Let me know what you think.{color}
> Missing separator with "print(object)" followed by "printRecord(Object[])"
> --------------------------------------------------------------------------
>
> Key: CSV-271
> URL: https://issues.apache.org/jira/browse/CSV-271
> Project: Commons CSV
> Issue Type: Bug
> Components: Printer
> Affects Versions: 1.8
> Reporter: Michael Wyraz
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Hello,
> the following code produces CSV with a missing separator:
> {code:java}
> CSVPrinter csv=new CSVPrinter(new
> OutputStreamWriter(System.out,StandardCharsets.UTF_8),CSVFormat.DEFAULT);
> csv.print("a");
> csv.printRecord("b","c");{code}
> This produces "ab,c".
> The corresponding function that takes a list, works properly:
> {code:java}
> csv.print("a");
> csv.printRecord(Arrays.asList("b","c"));{code}
> Produces "a,b,c" as expected
--
This message was sent by Atlassian Jira
(v8.3.4#803005)