broker/ClientNettyMQTTHandler: code formatter used
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*
|
||||
* You may elect to redistribute this code under either of these licenses.
|
||||
*/
|
||||
|
||||
package io.moquette.testclient;
|
||||
|
||||
import io.moquette.server.netty.NettyMQTTHandler;
|
||||
@@ -41,9 +42,9 @@ class ClientNettyMQTTHandler extends ChannelInboundHandlerAdapter {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void channelInactive(ChannelHandlerContext ctx)throws Exception {
|
||||
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
|
||||
m_client.setConnectionLost(true);
|
||||
ctx.close(/*false*/);
|
||||
ctx.close(/* false */);
|
||||
}
|
||||
|
||||
void setClient(Client client) {
|
||||
|
||||
Reference in New Issue
Block a user