Revision 52abc79a
Added by Andreas Müller over 12 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupImportBase.java | ||
---|---|---|
528 | 528 |
} |
529 | 529 |
|
530 | 530 |
|
531 |
/** |
|
532 |
* Trims the text and removes turns all whitespaces into single empty space. |
|
533 |
* @param text |
|
534 |
* @return |
|
535 |
*/ |
|
531 | 536 |
protected String normalize(String text) { |
532 | 537 |
text = StringUtils.trimToEmpty(text); |
533 | 538 |
text = text.replaceAll("\\s+", " "); |
Also available in: Unified diff
lasted Markup updates