/super-csv/src/main/java/org/supercsv/encoder/SelectiveCsvEncoder.java
if ( columnsToEncode == null) {   throw new NullPointerException( "columnsToEncode should not be null") ; }
[Delete]
import org.supercsv.prefs.CsvPreference; import org.supercsv.util.CsvContext; public class SelectiveCsvEncoder extends DefaultCsvEncoder { private final Set<Integer> columnNumbers = new HashSet<Integer>(); public SelectiveCsvEncoder(final int... columnsToEncode) { if( columnsToEncode == null ) { <extra_id_0> } for( final Integer columnToEncode : columnsToEncode ) { columnNumbers.add(columnToEncode); } } public SelectiveCsvEncoder(final boolean[] columnsToEncode) {