Optimized imports

This commit is contained in:
Ziver Koc 2016-07-16 22:53:56 +02:00
parent 52deb4b16d
commit e4930e5edb
29 changed files with 22 additions and 52 deletions

View file

@ -24,7 +24,6 @@
package zutil.algo.sort;
import zutil.algo.sort.MergeSort;
import zutil.algo.sort.sortable.SortableIntArray;
// TODO: Convert to JUnit

View file

@ -3,7 +3,6 @@ package zutil.benchmark;
import com.carrotsearch.junitbenchmarks.BenchmarkRule;
import org.junit.Rule;
import org.junit.Test;
import zutil.StringUtil;
public class LoopBenchmark {
public static final int TEST_EXECUTIONS = 500;

View file

@ -1,12 +1,10 @@
package zutil.benchmark;
import com.carrotsearch.junitbenchmarks.BenchmarkOptions;
import com.carrotsearch.junitbenchmarks.BenchmarkRule;
import org.junit.Rule;
import org.junit.Test;
import zutil.StringUtil;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;

View file

@ -25,7 +25,6 @@
package zutil.converter;
import org.junit.Test;
import zutil.converter.Converter;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;

View file

@ -28,7 +28,6 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import zutil.converter.NumberToWordsConverter;
import java.util.Arrays;
import java.util.Collection;

View file

@ -24,8 +24,6 @@
package zutil.net;
import zutil.net.ServerFindClient;
import java.io.IOException;

View file

@ -29,16 +29,15 @@ import zutil.converter.Converter;
import zutil.parser.binary.BinaryStructInputStream;
import zutil.parser.binary.BinaryStructOutputStream;
import static org.junit.Assert.assertTrue;
import static zutil.net.dns.DNSPacketQuestion.*;
import static zutil.net.dns.DNSPacketResource.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import static zutil.net.dns.DNSPacketQuestion.QCLASS_IN;
import static zutil.net.dns.DNSPacketQuestion.QTYPE_A;
import static zutil.net.dns.DNSPacketResource.CLASS_IN;
import static zutil.net.dns.DNSPacketResource.TYPE_A;
/**
* Created by Ziver

View file

@ -1,7 +1,6 @@
package zutil.net.http.multipart;
import org.junit.Test;
import zutil.io.IOUtil;
import zutil.io.StringInputStream;
import java.io.IOException;

View file

@ -25,7 +25,6 @@
package zutil.net.ssdp;
import zutil.log.LogUtil;
import zutil.net.ssdp.SSDPClient;
import java.io.IOException;
import java.util.logging.Level;

View file

@ -27,7 +27,6 @@ package zutil.net.ws.soap;
import org.dom4j.Document;
import org.dom4j.io.OutputFormat;
import org.dom4j.io.XMLWriter;
import zutil.net.ws.WSInterface;
import zutil.net.ws.WSInterface.WSNamespace;
import zutil.net.ws.WSReturnObject;

View file

@ -25,7 +25,6 @@
package zutil.parser;
import org.junit.Test;
import zutil.parser.URLDecoder;
import java.io.UnsupportedEncodingException;

View file

@ -25,14 +25,11 @@
package zutil.parser.binary;
import org.junit.Test;
import zutil.converter.Converter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import static junit.framework.TestCase.assertEquals;
import static org.junit.Assert.assertArrayEquals;

View file

@ -27,7 +27,6 @@ package zutil.parser.json;
import org.junit.Test;
import zutil.parser.DataNode;
import zutil.parser.DataNode.DataType;
import zutil.parser.json.JSONParser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;

View file

@ -31,8 +31,6 @@ import zutil.parser.json.JSONSerializerTest.TestClass;
import java.io.*;
import static org.junit.Assert.assertEquals;
public class JSONSerializerBenchmark {
private static final int TEST_EXECUTIONS = 2000;