Commit 6d8f840c by lyhuang

change private to public

parent 732bf2a8
......@@ -20,7 +20,7 @@ import javax.websocket.server.ServerEndpoint;
@ServerEndpoint("/websocket/{userName}")
public class NewStateWebSocket {
private NewStateWebSocket(){}
public NewStateWebSocket(){}
private static NewStateWebSocket single = null;
public static NewStateWebSocket getInstance(){
if(single==null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment