Project

General

Profile

« Previous | Next » 

Revision cf9927e2

Added by Andreas Müller over 14 years ago

minor

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/synthesys/SynthesysIO.java
295 295

  
296 296
		if (this.nomenclatureCode.toString().equals("Zoological")){
297 297
			taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICZN,null);
298
			if (taxonName.hasProblem())
298
			if (taxonName.hasProblem()!=0)
299 299
				problem=true;
300 300
		}
301 301
		if (this.nomenclatureCode.toString().equals("Botanical")){
302 302
			taxonName  = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICBN,null);
303
			if (taxonName.hasProblem())
303
			if (taxonName.hasProblem()!=0)
304 304
				problem=true;;}
305 305
		if (this.nomenclatureCode.toString().equals("Bacterial")){
306 306
			taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNB, null);
307
			if (taxonName.hasProblem())
307
			if (taxonName.hasProblem()!=0)
308 308
				problem=true;
309 309
		}
310 310
		if (this.nomenclatureCode.toString().equals("Cultivar")){
311 311
			taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNCP, null);
312
			if (taxonName.hasProblem())
312
			if (taxonName.hasProblem()!=0)
313 313
				problem=true;;
314 314
		}
315 315
//		if (this.nomenclatureCode.toString().equals("Viral")){

Also available in: Unified diff