|
7 | 7 | import org.junit.Rule;
|
8 | 8 | import org.junit.Test;
|
9 | 9 | import org.junit.rules.TemporaryFolder;
|
10 |
| -import org.webbitserver.*; |
| 10 | +import org.webbitserver.HttpControl; |
| 11 | +import org.webbitserver.HttpHandler; |
| 12 | +import org.webbitserver.HttpRequest; |
| 13 | +import org.webbitserver.HttpResponse; |
| 14 | +import org.webbitserver.WebServer; |
11 | 15 | import org.webbitserver.netty.NettyWebServer;
|
12 | 16 | import org.webbitserver.rest.Rest;
|
13 | 17 |
|
14 |
| -import java.io.*; |
| 18 | +import java.io.File; |
| 19 | +import java.io.FileInputStream; |
| 20 | +import java.io.FileNotFoundException; |
| 21 | +import java.io.IOException; |
| 22 | +import java.io.InputStreamReader; |
| 23 | +import java.io.Reader; |
| 24 | +import java.io.Writer; |
15 | 25 | import java.net.InetSocketAddress;
|
16 | 26 | import java.net.URI;
|
17 | 27 | import java.net.URISyntaxException;
|
|
21 | 31 | import java.nio.file.Path;
|
22 | 32 | import java.util.ArrayList;
|
23 | 33 | import java.util.List;
|
24 |
| -import java.util.concurrent.*; |
25 |
| - |
26 |
| -import static org.junit.Assert.*; |
| 34 | +import java.util.concurrent.BlockingQueue; |
| 35 | +import java.util.concurrent.LinkedBlockingDeque; |
| 36 | +import java.util.concurrent.CountDownLatch; |
| 37 | +import java.util.concurrent.ExecutionException; |
| 38 | +import java.util.concurrent.Executors; |
| 39 | +import java.util.concurrent.TimeUnit; |
| 40 | + |
| 41 | +import static org.junit.Assert.assertEquals; |
| 42 | +import static org.junit.Assert.assertTrue; |
| 43 | +import static org.junit.Assert.fail; |
27 | 44 |
|
28 | 45 | public class URLOutputStreamTest {
|
29 | 46 | private WebServer webbit;
|
|
0 commit comments