Project

General

Profile

« Previous | Next » 

Revision e0b35bf1

Added by Niels Hoffmann almost 13 years ago

Refactoring of property change handling. Also fixes #2363

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialogs/filteredSelection/ReferenceSelectionDialog.java
82 82
	/** {@inheritDoc} */
83 83
	@Override
84 84
	protected String getTitle(Reference cdmObject) {
85
		if(cdmObject.getAuthorTeam() == null){
85
		if(cdmObject == null){
86
			return "";
87
		}else if(cdmObject.getAuthorTeam() == null){
86 88
			return super.getTitle(cdmObject);
87 89
		}else{
88 90
			return ReferenceBaseDefaultCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorTeam().getTitleCache());

Also available in: Unified diff