question: mark our #currentfeature feature as null , it will be skipped when written effectively removing it . concode_field_sep CSVFeatureReader delegate concode_elem_sep File temp concode_elem_sep CsvWriter csvWriter concode_elem_sep SimpleFeature currentFeature concode_elem_sep ContentState state concode_elem_sep boolean appending concode_elem_sep int nextRow concode_field_sep SimpleFeature next concode_elem_sep SimpleFeatureType getFeatureType concode_elem_sep boolean hasNext concode_elem_sep void write concode_elem_sep void close
target: void function ( ) { this . currentFeature = null ; }