From ff556c19ddc7a207fbc973d7f4ef209de417f1fb Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 8 Dec 2021 16:07:51 +0100 Subject: [PATCH] chore: removed one more dependency --- build.gradle | 1 - src/main/java/w2phtml/pageSplitters/ListSplitter.java | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index f76f5f6..64f772b 100644 --- a/build.gradle +++ b/build.gradle @@ -42,7 +42,6 @@ dependencies{ compileClasspath group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3' compileClasspath group: 'com.miglayout', name: 'miglayout-swing', version: '5.2' compileClasspath group: 'org.apache.jena', name: 'jena-core', version: '3.15.0' - compileClasspath group: 'org.apache.jena', name: 'jena-arq', version: '3.15.0' compileClasspath group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30' compileClasspath group: 'com.opencsv', name: 'opencsv', version: '5.1' compileClasspath group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2' diff --git a/src/main/java/w2phtml/pageSplitters/ListSplitter.java b/src/main/java/w2phtml/pageSplitters/ListSplitter.java index e4413b2..df7188d 100644 --- a/src/main/java/w2phtml/pageSplitters/ListSplitter.java +++ b/src/main/java/w2phtml/pageSplitters/ListSplitter.java @@ -6,13 +6,11 @@ import static w2phtml.office.XMLString.TEXT_LIST_ITEM; import static w2phtml.office.XMLString.TEXT_LIST; import static w2phtml.office.XMLString.TEXT_SOFT_PAGE_BREAK; -import org.apache.commons.lang3.StringUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; -import pro.litvinovg.xml.Debug; import w2phtml.office.OfficeReader; public class ListSplitter extends BasicSplitter implements ISplitter { @@ -101,7 +99,7 @@ public class ListSplitter extends BasicSplitter implements ISplitter { while (freeNodes.getLength() > 0) { Node freeNode = freeNodes.item(i); String freeNodeName = freeNode.getNodeName(); - if (StringUtils.equals(TEXT_LIST, freeNodeName)) { + if (TEXT_LIST.equals(freeNodeName)) { break; } parent.insertBefore(freeNode, list);