Revision 61151d12
Added by Patrick Plitzner over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java | ||
---|---|---|
142 | 142 |
* Override in subclasses if you want to have a different behaviour. |
143 | 143 |
*/ |
144 | 144 |
protected void setSectionTitle() { |
145 |
if(getCollection(getEntity()) != null && getCollection(getEntity()).size() > 0){ |
|
145 |
Collection<ELEMENT> collection = getCollection(getEntity()); |
|
146 |
if(collection != null && collection.size() > 0){ |
|
146 | 147 |
this.setText(getTitleString() + " +"); |
147 | 148 |
}else{ |
148 | 149 |
this.setText(getTitleString()); |
Also available in: Unified diff
minor refactoring