[CSV-211] CSVFormat.format trims last delimiter if the delimiter is a
white space #71.
This commit is contained in:
parent
3eac15fc8d
commit
bc2419915d
|
@ -53,6 +53,7 @@
|
|||
<action type="update" dev="ggregory" due-to="Chen">Removed invalid Javadoc markup for CSVFormat EXCEL #64.</action>
|
||||
<action type="update" dev="ggregory" due-to="Chen">Improve CSVRecord and CSVPrinter code coverage #66.</action>
|
||||
<action type="update" dev="ggregory" due-to="Chen">Improve lexer and token coverage #67.</action>
|
||||
<action issue="CSV-211" type="fix" dev="ggregory" due-to="Alpesh Kulkarni, Chen">CSVFormat.format trims last delimiter if the delimiter is a white space #71.</action>
|
||||
</release>
|
||||
<release version="1.8" date="2020-02-01" description="Feature and bug fix release (Java 8).
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class JiraCsv211Test {
|
|||
|
||||
@Test
|
||||
public void testJiraCsv211Format() throws IOException {
|
||||
final String[] values = new String[]{"1", "Jane Doe", "USA", ""};
|
||||
final String[] values = new String[] { "1", "Jane Doe", "USA", "" };
|
||||
|
||||
final CSVFormat printFormat = CSVFormat.DEFAULT.withDelimiter('\t').withHeader("ID", "Name", "Country", "Age");
|
||||
String formatted = printFormat.format(values);
|
||||
|
|
Loading…
Reference in New Issue