Skip to content

Commit dc4f80b

Browse files
committed
Cleaned up unused imports.
1 parent e7ee8ac commit dc4f80b

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

example/ChatClient.java

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public void onClose() {
4242
* The JFrame for our Chat client.
4343
*/
4444
private static class Frame extends JFrame implements ActionListener {
45+
private static final long serialVersionUID = -6056260699202978657L;
46+
4547
private final JTextField uriField;
4648
private final JButton connect;
4749
private final JButton close;

example/ChatServer.java

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import java.io.IOException;
22

33
import net.tootallnate.websocket.WebSocket;
4-
import net.tootallnate.websocket.WebSocketDraft;
54
import net.tootallnate.websocket.WebSocketServer;
65

76
/**

src/net/tootallnate/websocket/WebSocket.java

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import java.io.IOException;
44
import java.nio.ByteBuffer;
55
import java.nio.channels.NotYetConnectedException;
6-
import java.nio.channels.SelectionKey;
7-
import java.nio.channels.Selector;
86
import java.nio.channels.SocketChannel;
97
import java.nio.charset.Charset;
108
import java.security.NoSuchAlgorithmException;

src/net/tootallnate/websocket/WebSocketClient.java

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.net.InetSocketAddress;
55
import java.net.URI;
66
import java.nio.ByteBuffer;
7-
import java.nio.channels.ClosedChannelException;
87
import java.nio.channels.SelectionKey;
98
import java.nio.channels.Selector;
109
import java.nio.channels.SocketChannel;

src/net/tootallnate/websocket/WebSocketServer.java

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import java.util.Iterator;
1212
import java.util.Properties;
1313
import java.util.Set;
14-
import java.util.concurrent.BlockingQueue;
1514
import java.util.concurrent.CopyOnWriteArraySet;
1615
import java.util.concurrent.LinkedBlockingQueue;
1716

0 commit comments

Comments
 (0)