From 4e1cfc57d8ef4ed212dc0e9eed79c1666c937c7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Perrin?= Date: Sat, 30 Jan 2021 14:12:10 +0000 Subject: [PATCH] Revert "Fix compile warnings." This reverts commit 2182783b7ac6a22c23b37db4ba458ff12a6978dc. --- compile.sh | 3 ++- .../dictionary/parser/wiktionary/WholeSectionToHtmlParser.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.43.0