Project

General

Profile

Revision 9f76b617

ID9f76b61701707e2c680e9f42214ed569d6b28bae
Parent f132fe1d
Child 96847705

Added by Andreas Müller about 2 months ago

fix TaxonName.getCitationString()

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/TaxonName.java
2623 2623
    @Override
2624 2624
    @Transient
2625 2625
    public String getCitationString(){
2626
        return getNomenclaturalReference().getNomenclaturalCitation(getNomenclaturalMicroReference());
2626
        Reference nomRef = getNomenclaturalReference();
2627
        return nomRef == null ? null : nomRef.getNomenclaturalCitation(getNomenclaturalMicroReference());
2627 2628
    }
2628 2629

  
2629 2630
    /**
cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/name/TaxonNameTest.java
289 289

  
290 290
	@Test
291 291
	public void testGetCitationString() {
292
		logger.warn("not yet implemented");
292
		String citation = nameBase1.getCitationString();
293
	    logger.warn("not yet implemented");
293 294
	}
294 295

  
295 296
	@Test

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)