Project

General

Profile

« Previous | Next » 

Revision d3e5db7e

Added by Patrick Plitzner almost 7 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[]{
......
203 202
            else{
204 203
                text = element.toString();
205 204
            }
205
        }
206
        //remove dot at the end
207
        if(text.endsWith(".")){
208
            text = text.substring(0, text.length()-1);
206 209
        }
207 210
		return text;
208 211
    }

Also available in: Unified diff