Remove unnecessary field initialization
This commit is contained in:
parent
856be0a08a
commit
51729209ed
@ -6,9 +6,9 @@ import java.nio.ByteBuffer;
|
|||||||
import java.nio.channels.SocketChannel;
|
import java.nio.channels.SocketChannel;
|
||||||
|
|
||||||
public class EchoClient {
|
public class EchoClient {
|
||||||
private static SocketChannel client = null;
|
private static SocketChannel client;
|
||||||
private static ByteBuffer buffer;
|
private static ByteBuffer buffer;
|
||||||
private static EchoClient instance = null;
|
private static EchoClient instance;
|
||||||
|
|
||||||
public static EchoClient start() {
|
public static EchoClient start() {
|
||||||
if (instance == null)
|
if (instance == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user