Browse files

Minor cleanups to make NB happy.

  • Loading branch information...
1 parent ea42e3a commit c8a21c261115f04de4c5bd0a053eb95165af586f @headius headius committed Jul 23, 2011
View
4 src/main/java/jnr/unixsocket/example/UnixClient.java
@@ -1,8 +1,6 @@
package jnr.unixsocket.example;
-import jnr.unixsocket.UnixSocketAddress;
-import jnr.unixsocket.UnixSocketChannel;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
@@ -12,7 +10,7 @@
import jnr.unixsocket.UnixSocketChannel;
public class UnixClient {
- public static final void main(String[] args) throws IOException {
+ public static void main(String[] args) throws IOException {
java.io.File path = new java.io.File("/tmp/fubar.sock");
String data = "blah blah";
UnixSocketAddress address = new UnixSocketAddress(path);
View
4 src/main/java/jnr/unixsocket/example/UnixServer.java
@@ -1,10 +1,6 @@
package jnr.unixsocket.example;
-import jnr.unixsocket.UnixServerSocket;
-import jnr.unixsocket.UnixServerSocketChannel;
-import jnr.unixsocket.UnixSocketAddress;
-import jnr.unixsocket.UnixSocketChannel;
import jnr.enxio.channels.NativeSelectorProvider;
import java.io.IOException;
import java.nio.ByteBuffer;

0 comments on commit c8a21c2

Please sign in to comment.