code style

This commit is contained in:
unknown
2020-10-27 16:04:34 +08:00
parent f03c67685e
commit 9f7a4a3a46
2 changed files with 6 additions and 6 deletions

View File

@@ -5,10 +5,10 @@ import com.mogo.commons.debug.DebugConfig;
public class WebSocketConstant {
private static final String HOST_DEV = "ws://62.234.196.121:14001/ws";
private static final String HOST_QA = "ws://62.234.196.121:14001/ws";
private static final String HOST_DEMO = "ws://62.234.196.121:14001/ws";
private static final String HOST_RELEASE = "ws://62.234.196.121:14001/ws";
private static final String HOST_DEV = "ws://62.234.196.121:4001/ws";
private static final String HOST_QA = "ws://62.234.196.121:4001/ws";
private static final String HOST_DEMO = "ws://62.234.196.121:4001/ws";
private static final String HOST_RELEASE = "ws://62.234.196.121:4001/ws";
public static String getSocketServer(){
switch (DebugConfig.getNetMode()){

View File

@@ -143,7 +143,7 @@ public class WebSocketManager implements IMogoWebSocketManager, ISocketMsgSettin
while (iterator.hasNext()) {
IMogoOnWebSocketMessageListener listener = iterator.next();
if (listener != null) {
Logger.d(TAG, "received msgId = "+webSocketData.getSeq()+", content = "+webSocketData.getT().toString());
Logger.d(TAG, "received msgId = " + webSocketData.getSeq() + ", content = " + webSocketData.getT().toString());
listener.onMsgReceived(webSocketData.getT());
}
}
@@ -159,7 +159,7 @@ public class WebSocketManager implements IMogoWebSocketManager, ISocketMsgSettin
@Override
public void handleError(Exception e) {
Logger.e(TAG, "websocket handleError :" + e.getMessage());
Logger.e(TAG, "websocket handleError : " + e.getMessage());
}
@Override