Revision a4cab8c6
Added by Andreas Müller almost 2 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupSpecimenImport.java | ||
---|---|---|
878 | 878 |
} |
879 | 879 |
|
880 | 880 |
private String removeTrailingPunctuation(String text) { |
881 |
while (isPunctuation(text.substring(text.length()-1))){ |
|
881 |
while (text.length() > 0 && isPunctuation(text.substring(text.length()-1))){
|
|
882 | 882 |
text = text.substring(0, text.length()-1).trim(); |
883 | 883 |
} |
884 | 884 |
return text; |
Also available in: Unified diff
ref #10092 adapt markup import to FdG requirements (fixing errors)