Project

General

Profile

« Previous | Next » 

Revision 1faab189

Added by Katja Luther almost 5 years ago

Revert "mend"

This reverts commit 80379c19934c880a3631e83ffec07ef9215b2378.

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/TermComboElement.java
9 9
import java.util.Comparator;
10 10
import java.util.List;
11 11

  
12
import org.apache.commons.lang.StringUtils;
13 12
import org.eclipse.jface.util.PropertyChangeEvent;
14 13
import org.eclipse.swt.SWT;
15 14
import org.eclipse.swt.events.SelectionEvent;
......
258 257
		}else{
259 258
			String termLabel = null;
260 259
			if (useAbbrevLabel){
261
			    if (!StringUtils.isBlank(term.getIdInVocabulary())){
262
			        termLabel = term.getIdInVocabulary();
263
			    }
264
			}
265
			if (termLabel == null){
260
				termLabel = term.getIdInVocabulary();
261
			}else{
266 262
				termLabel = term.getLabel(CdmStore.getDefaultLanguage());
267 263
			}
268 264
			if (termLabel == null){

Also available in: Unified diff