Scope methods properly

This commit is contained in:
Mario Danic 2018-10-26 10:49:51 +02:00
parent e5532a5842
commit 769e478874

View File

@ -271,7 +271,7 @@ public class MagicWebSocketInstance extends WebSocketListener {
} }
} }
public void sendBye() { void sendBye() {
if (isConnected()) { if (isConnected()) {
try { try {
ByeWebSocketMessage byeWebSocketMessage = new ByeWebSocketMessage(); ByeWebSocketMessage byeWebSocketMessage = new ByeWebSocketMessage();
@ -288,7 +288,7 @@ public class MagicWebSocketInstance extends WebSocketListener {
return connected; return connected;
} }
public boolean isPermanentlyClosed() { boolean isPermanentlyClosed() {
return isPermanentlyClosed; return isPermanentlyClosed;
} }
} }