From: Frédéric Perrin Date: Sat, 30 Jan 2021 14:12:10 +0000 (+0000) Subject: Revert "Fix compile warnings." X-Git-Url: http://gitweb.fperrin.net/?p=DictionaryPC.git;a=commitdiff_plain;h=4e1cfc57d8ef4ed212dc0e9eed79c1666c937c7f Revert "Fix compile warnings." This reverts commit 2182783b7ac6a22c23b37db4ba458ff12a6978dc. --- diff --git a/compile.sh b/compile.sh index 0780eff..0d577aa 100755 --- a/compile.sh +++ b/compile.sh @@ -2,7 +2,8 @@ ICU4J=/usr/share/java/icu4j-49.1.jar test -r "$ICU4J" || ICU4J=/usr/share/icu4j-55/lib/icu4j.jar JUNIT=/usr/share/java/junit.jar test -r "$JUNIT" || JUNIT=/usr/share/junit/lib/junit.jar -COMMONS=/usr/share/java/commons-text.jar +COMMONS=/usr/share/java/commons-lang3.jar +test -r "$COMMONS" || COMMONS=/usr/share/commons-lang-3.3/lib/commons-lang.jar COMMONS_COMPRESS=/usr/share/java/commons-compress.jar if [ ! -x ../Dictionary ] ; then echo "You need to clone the Dictionary repository (including subprojects) into .." diff --git a/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java b/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java index 2b719db..8cf2141 100644 --- a/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java +++ b/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java @@ -8,7 +8,7 @@ import java.util.List; import java.util.Map; import java.util.regex.Pattern; -import org.apache.commons.text.StringEscapeUtils; +import org.apache.commons.lang3.StringEscapeUtils; import com.hughes.android.dictionary.engine.EntryTypeName; import com.hughes.android.dictionary.engine.HtmlEntry;