*/
package eu.etaxonomy.cdm.io.cdmLight;
+import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
/**
* @author k.luther
* @date 15.03.2017
- *
*/
@Component
public class CdmLightClassificationExport
- extends CdmExportBase<CdmLightExportConfigurator, CdmLightExportState, IExportTransformer>
+ extends CdmExportBase<CdmLightExportConfigurator, CdmLightExportState, IExportTransformer, File>
implements ICdmExport<CdmLightExportConfigurator, CdmLightExportState>{
* @param name
*/
private void handleName(CdmLightExportState state, TaxonName name) {
+ if (name == null){
+ return;
+ }
try {
Rank rank = name.getRank();
CdmLightExportTable table = CdmLightExportTable.SCIENTIFIC_NAME;