]> gitweb.fperrin.net Git - DictionaryPC.git/commitdiff
Fix compile warnings.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2020 23:00:10 +0000 (01:00 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2020 23:00:10 +0000 (01:00 +0200)
compile.sh
src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java

index bee60a5cbc0c9365ecaccc2ea4b64b3bf3158a56..7cb5a1500fe15f6084a27ae5e0db4cebec5f3808 100755 (executable)
@@ -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 .."
index e744fce9e538e752f9e8ae34ab7faad42d35f068..63e507ee9a97d9433efbc863f094480c5175dc96 100644 (file)
@@ -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;