Project

General

Profile

Revision d3e5db7e

IDd3e5db7ee254da380a65814b893a531bb3fb83d0
Parent 21fbfba9
Child 30e2c996

Added by Patrick Plitzner about 3 years ago

Remove dot at the end of derivative labels

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateLabelProvider.java
148 148

  
149 149
        //Use titlecache for FieldUnits
150 150
        if(element instanceof FieldUnit){
151
            return ((FieldUnit) element).getTitleCache();
151
            text = ((FieldUnit) element).getTitleCache();
152 152
        }
153

  
154 153
        else if(element instanceof MediaSpecimen){
155 154
            text = CdmFormatterFactory.format(element,
156 155
                    new FormatKey[]{
......
204 203
                text = element.toString();
205 204
            }
206 205
        }
206
        //remove dot at the end
207
        if(text.endsWith(".")){
208
            text = text.substring(0, text.length()-1);
209
        }
207 210
		return text;
208 211
    }
209 212

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)