Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Commit

Permalink
more tuning for #33 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 21, 2014
1 parent 7b02792 commit 785aaba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void endRow() throws IOException
_lastBuffered = -1;
for (int i = _nextColumnToWrite; i <= last; ++i) {
BufferedValue value = _buffered[i];
if (i > 0) {
if (i > _nextColumnToWrite) {
appendColumnSeparator();
}
if (value != null) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
package com.fasterxml.jackson.dataformat.csv.failing;
package com.fasterxml.jackson.dataformat.csv;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import com.fasterxml.jackson.dataformat.csv.CsvSchema;
import com.fasterxml.jackson.dataformat.csv.ModuleTestBase;
import com.google.common.collect.ImmutableMap;
import org.junit.Test;

import java.lang.String;

// [Issue#33]
public class TestWriter extends ModuleTestBase
public class TestWriterWithMissingValues extends ModuleTestBase
{
private final CsvSchema SCHEMA = new CsvSchema.Builder()
.addColumn("timestamp", CsvSchema.ColumnType.STRING)
Expand Down

0 comments on commit 785aaba

Please sign in to comment.