chore: removed one more dependency

This commit is contained in:
Georgy Litvinov 2021-12-08 16:07:51 +01:00
parent a6e85d367a
commit ff556c19dd
No known key found for this signature in database
GPG key ID: E8185E06DE0279DD
2 changed files with 1 additions and 4 deletions

View file

@ -42,7 +42,6 @@ dependencies{
compileClasspath group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3' compileClasspath group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
compileClasspath group: 'com.miglayout', name: 'miglayout-swing', version: '5.2' 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-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: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
compileClasspath group: 'com.opencsv', name: 'opencsv', version: '5.1' compileClasspath group: 'com.opencsv', name: 'opencsv', version: '5.1'
compileClasspath group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2' compileClasspath group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2'

View file

@ -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_LIST;
import static w2phtml.office.XMLString.TEXT_SOFT_PAGE_BREAK; import static w2phtml.office.XMLString.TEXT_SOFT_PAGE_BREAK;
import org.apache.commons.lang3.StringUtils;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Element; import org.w3c.dom.Element;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import pro.litvinovg.xml.Debug;
import w2phtml.office.OfficeReader; import w2phtml.office.OfficeReader;
public class ListSplitter extends BasicSplitter implements ISplitter { public class ListSplitter extends BasicSplitter implements ISplitter {
@ -101,7 +99,7 @@ public class ListSplitter extends BasicSplitter implements ISplitter {
while (freeNodes.getLength() > 0) { while (freeNodes.getLength() > 0) {
Node freeNode = freeNodes.item(i); Node freeNode = freeNodes.item(i);
String freeNodeName = freeNode.getNodeName(); String freeNodeName = freeNode.getNodeName();
if (StringUtils.equals(TEXT_LIST, freeNodeName)) { if (TEXT_LIST.equals(freeNodeName)) {
break; break;
} }
parent.insertBefore(freeNode, list); parent.insertBefore(freeNode, list);