From: Reimar Döffinger Date: Sat, 11 Apr 2020 23:00:10 +0000 (+0200) Subject: Fix compile warnings. X-Git-Url: http://gitweb.fperrin.net/?p=DictionaryPC.git;a=commitdiff_plain;h=2182783b7ac6a22c23b37db4ba458ff12a6978dc Fix compile warnings. --- diff --git a/compile.sh b/compile.sh index bee60a5..7cb5a15 100755 --- a/compile.sh +++ b/compile.sh @@ -4,8 +4,7 @@ JUNIT=/usr/share/java/junit.jar test -r "$JUNIT" || JUNIT=/usr/share/junit/lib/junit.jar XERCES=/usr/share/java/xercesImpl.jar test -r "$XERCES" || XERCES=/usr/share/xerces-2/lib/xercesImpl.jar -COMMONS=/usr/share/java/commons-lang3.jar -test -r "$COMMONS" || COMMONS=/usr/share/commons-lang-3.3/lib/commons-lang.jar +COMMONS=/usr/share/java/commons-text.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 e744fce..63e507e 100644 --- a/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java +++ b/src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java @@ -9,7 +9,7 @@ import com.hughes.android.dictionary.engine.IndexedEntry; import com.hughes.android.dictionary.parser.WikiTokenizer; import com.hughes.util.StringUtil; -import org.apache.commons.lang3.StringEscapeUtils; +import org.apache.commons.text.StringEscapeUtils; import java.net.URI; import java.util.ArrayList;