Project

General

Profile

« Previous | Next » 

Revision 5cb02a23

Added by Katja Luther over 5 years ago

code cleaning

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/ChecklistEditorE4.java
24 24
import javax.annotation.PreDestroy;
25 25
import javax.inject.Inject;
26 26

  
27
import org.apache.commons.lang.StringUtils;
27 28
import org.apache.log4j.Logger;
28 29
import org.eclipse.core.runtime.IProgressMonitor;
29 30
import org.eclipse.e4.ui.di.Focus;
......
696 697
              termLable = rep.getLabel();
697 698
          }
698 699
          if (PreferencesUtil.isShowIdInVocabularyInChecklistEditor()){
699
              if (term.getIdInVocabulary() != null){
700
              if (StringUtils.isBlank(term.getIdInVocabulary())){
700 701
                termLable = term.getIdInVocabulary();
701 702
              }
702 703
          }
704
          if (StringUtils.isBlank(termLable)){
705
              termLable = term.getTitleCache();
706
          }
703 707
    	  TableViewerColumn column= addTableViewerColumn(termLable, 200, areaPosition.get(term.getUuid()), term);
704
    	  System.err.println(column.getColumn().getText() + " index: " +areaPosition.get(term.getUuid()) );
705 708

  
706 709
      }
707 710

  

Also available in: Unified diff