File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
main/java/org/metafacture/csv
test/java/org/metafacture/csv Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,7 @@ public class SimpleCsvEncoder extends DefaultStreamPipe<ObjectReceiver<String>>
6060 private boolean includeRecordId ;
6161
6262 public SimpleCsvEncoder () {
63- this (CSVWriter .DEFAULT_SEPARATOR );
64- }
65-
66- public SimpleCsvEncoder (char separator ) {
67- this .separator = separator ;
63+ this .separator = CSVWriter .DEFAULT_SEPARATOR ;
6864 this .noQuotes = false ;
6965 this .includeHeader = false ;
7066 this .includeRecordId = false ;
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ public class SimpleCsvEncoderTest {
3434 @ Before
3535 public void setUp () {
3636 MockitoAnnotations .initMocks (this );
37- encoder = new SimpleCsvEncoder (' ' );
37+ encoder = new SimpleCsvEncoder ();
38+ encoder .setSeparator (' ' );
3839 encoder .setReceiver (receiver );
3940 }
4041
You can’t perform that action at this time.
0 commit comments