From 2182783b7ac6a22c23b37db4ba458ff12a6978dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 12 Apr 2020 01:00:10 +0200 Subject: [PATCH] Fix compile warnings. --- compile.sh | 3 +-- .../dictionary/parser/wiktionary/WholeSectionToHtmlParser.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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; -- 2.43.0