Project

General

Profile

« Previous | Next » 

Revision 1470efb0

Added by Andreas Kohlbecker over 9 years ago

removing old obsolte code

View differences:

cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceUtilities.java
291 291
                languages.add(Language.DEFAULT());
292 292
            }
293 293
            Representation statusRepresentation = status.getPreferredRepresentation(languages);
294
            String statusLabel = statusRepresentation.getLabel();
295
            //statusLabel.replace('introduced: ', '');
296
            statusLabel = statusLabel.replace("introduced: ", "introduced, ");
297
            statusLabel = statusLabel.replace("native: ", "native,  ");
298 294

  
299 295
            //getting the area color
300 296
            Color statusColor = presenceAbsenceTermColors.get(status);
......
312 308

  
313 309
            areaStyles.put(styleCounter, styleValues);
314 310

  
315
            String legendEntry = styleCode + ID_FROM_VALUES_SEPARATOR + encode(statusLabel);
311
            String legendEntry = styleCode + ID_FROM_VALUES_SEPARATOR + encode(statusRepresentation.getLabel());
316 312
            legendSortList.add(StringUtils.leftPad(String.valueOf(status.getOrderIndex()), INT_MAX_LENGTH, '0') + legendEntry );
317 313
            styleCounter++;
318 314
        }

Also available in: Unified diff