Optimized imports

This commit is contained in:
Ziver Koc 2018-05-26 23:04:40 +02:00
parent b1c53d88ae
commit c570847f3a
34 changed files with 22 additions and 52 deletions

View file

@ -6,7 +6,8 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.TimeZone;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
/**
*

View file

@ -11,7 +11,6 @@ import java.util.logging.Level;
import static junit.framework.TestCase.assertNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import static zutil.db.bean.DBBeanTestBase.*;
/**

View file

@ -10,7 +10,7 @@ import zutil.log.LogUtil;
import java.sql.SQLException;
import java.util.logging.Level;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static zutil.db.bean.DBBeanTestBase.*;
/**

View file

@ -27,7 +27,8 @@ package zutil.log;
import org.junit.Test;
import zutil.log.CounterManager.Counter;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
public class CounterManagerTest {

View file

@ -2,7 +2,8 @@ package zutil.math;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
/**
*

View file

@ -2,7 +2,8 @@ package zutil.ml;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
/**
* Test cases are from the Machine Learning course on coursera.

View file

@ -1,7 +1,6 @@
package zutil.net.http;
import zutil.io.StringOutputStream;
import zutil.net.http.page.HttpDigestAuthPageTest;
import java.io.IOException;
import java.util.HashMap;

View file

@ -1,9 +1,6 @@
package zutil.net.http.page;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import zutil.Hasher;
import zutil.io.IOUtil;
@ -13,6 +10,8 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.*;
/**

View file

@ -9,7 +9,7 @@ import zutil.parser.DataNode;
import java.io.IOException;
import java.util.Map;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
/**
* @author Ziver on 2016-11-04.

View file

@ -2,7 +2,6 @@ package zutil.net.mqtt.packet;
import org.junit.Test;
import zutil.converter.Converter;
import zutil.net.mqtt.packet.MqttPacketConnect;
import zutil.parser.binary.BinaryStructInputStream;
import zutil.parser.binary.BinaryStructOutputStream;

View file

@ -26,14 +26,13 @@ package zutil.net.nio;
import zutil.log.CompactLogFormatter;
import zutil.log.LogUtil;
import zutil.net.nio.response.StringResponseMessage;
import zutil.net.nio.response.PrintResponseHandler;
import zutil.net.nio.response.StringResponseMessage;
import zutil.net.nio.worker.StandardWorker;
import java.io.IOException;
import java.net.InetAddress;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
@SuppressWarnings("unused")

View file

@ -30,7 +30,6 @@ import zutil.net.nio.worker.StandardWorker;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
@SuppressWarnings("unused")

View file

@ -8,7 +8,7 @@ import java.io.OutputStreamWriter;
import java.util.Date;
import java.util.GregorianCalendar;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static zutil.net.smtp.SmtpClient.NEWLINE;
/**

View file

@ -4,7 +4,8 @@ import org.junit.Test;
import java.text.ParseException;
import static org.junit.Assert.*;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
/**
* Created by Ziver on 2016-09-27.

View file

@ -5,7 +5,7 @@ import zutil.net.ws.WSInterface;
import java.util.HashMap;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
/**
* Created by Ziver on 2016-09-27.

View file

@ -4,11 +4,10 @@ import org.junit.Test;
import zutil.io.StringInputStream;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.net.InetAddress;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
/**
* Created by ezivkoc on 2016-09-30.