Removed unsed imports

This commit is contained in:
Willem Cazander 2024-12-22 00:43:18 +01:00
parent 7e153499ea
commit 8274d50e9d
5 changed files with 2 additions and 9 deletions

View file

@ -33,7 +33,6 @@ import javax.xml.parsers.SAXParserFactory;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.x4o.xml.o2o.io.sax3.ContentWriterXml;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import org.xml.sax.XMLReader; import org.xml.sax.XMLReader;

View file

@ -26,7 +26,6 @@ import java.io.StringWriter;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.x4o.xml.o2o.io.sax3.ContentWriterXml;
/** /**
* ContentWriterXmlCDataTest tests cdata xml escaping. * ContentWriterXmlCDataTest tests cdata xml escaping.

View file

@ -26,7 +26,6 @@ import java.io.StringWriter;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.x4o.xml.o2o.io.sax3.ContentWriterXml;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl; import org.xml.sax.helpers.AttributesImpl;

View file

@ -34,8 +34,6 @@ import javax.xml.parsers.SAXParserFactory;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.x4o.xml.o2o.io.sax3.ContentWriterXml; import org.x4o.xml.o2o.io.sax3.ContentWriterXml;
import org.x4o.xml.o2o.io.sax3.xdbx.XDBXReaderXml;
import org.x4o.xml.o2o.io.sax3.xdbx.XDBXWriterXml;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.XMLReader; import org.xml.sax.XMLReader;
import org.xml.sax.helpers.AttributesImpl; import org.xml.sax.helpers.AttributesImpl;
@ -96,8 +94,8 @@ public class XDBXReaderXmlTest {
Assertions.assertTrue(output.length() > 0); Assertions.assertTrue(output.length() > 0);
Assertions.assertTrue(output.contains("<artifactId>nx01-x4o-driver</artifactId>"), output); Assertions.assertTrue(output.contains("<artifactId>nx01-x4o-driver</artifactId>"), output);
int sizePom = new FileInputStream(new File("../pom.xml")).readAllBytes().length; long sizePom = new File("../pom.xml").length();
int sizeXDBX = baos.toByteArray().length; long sizeXDBX = baos.toByteArray().length;
System.out.println("size-pom.xml:: " + sizePom); System.out.println("size-pom.xml:: " + sizePom);
System.out.println("size-pom.xdbx: " + sizeXDBX); System.out.println("size-pom.xdbx: " + sizeXDBX);

View file

@ -24,8 +24,6 @@ package org.x4o.xml.o2o.octal;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.x4o.xml.o2o.octal.PrimordialOctal;
import org.x4o.xml.o2o.octal.PrimordialOctalOrangeSexWord;
/** /**
* X4OLanguagePropertyTest test static enum code. * X4OLanguagePropertyTest test static enum code.