Revision c7613fbe
Added by Andreas Müller 8 months ago
app-import/src/main/java/eu/etaxonomy/cdm/io/phycobank/IAPTExcelImport.java | ||
---|---|---|
20 | 20 |
import java.util.regex.Matcher; |
21 | 21 |
import java.util.regex.Pattern; |
22 | 22 |
|
23 |
import org.apache.commons.lang.ArrayUtils; |
|
24 |
import org.apache.commons.lang.StringEscapeUtils; |
|
23 |
import org.apache.commons.lang3.ArrayUtils; |
|
25 | 24 |
import org.apache.commons.lang3.StringUtils; |
25 |
import org.apache.commons.text.StringEscapeUtils; |
|
26 | 26 |
import org.apache.logging.log4j.Level; |
27 | 27 |
import org.apache.logging.log4j.LogManager; |
28 | 28 |
import org.apache.logging.log4j.Logger; |
... | ... | |
1052 | 1052 |
} |
1053 | 1053 |
value = CdmUtils.removeDuplicateWhitespace(value.trim()).toString(); |
1054 | 1054 |
if(doUnescapeHtmlEntities){ |
1055 |
value = StringEscapeUtils.unescapeHtml(value); |
|
1055 |
value = StringEscapeUtils.unescapeHtml4(value);
|
|
1056 | 1056 |
} |
1057 | 1057 |
return value.trim(); |
1058 | 1058 |
}else{ |
Also available in: Unified diff
ref #10055 remove all dependencies to org.apache.commons.lang. from app-import