broker/ConnectionDescriptor: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:25:08 +01:00
parent ab282cea23
commit 725220a99b
@@ -103,7 +103,7 @@ public class ConnectionDescriptor {
LOG.info("Closing connection descriptor. MqttClientId = {}.", clientID); LOG.info("Closing connection descriptor. MqttClientId = {}.", clientID);
// try { // try {
// this.channel.disconnect().sync(); // this.channel.disconnect().sync();
this.channel.close();// .sync(); this.channel.close(); // .sync();
// } catch (InterruptedException e) { // } catch (InterruptedException e) {
// e.printStackTrace(); // e.printStackTrace();
// } // }
@@ -145,7 +145,6 @@ public class ConnectionDescriptor {
if (clientID != null ? !clientID.equals(that.clientID) : that.clientID != null) if (clientID != null ? !clientID.equals(that.clientID) : that.clientID != null)
return false; return false;
return !(channel != null ? !channel.equals(that.channel) : that.channel != null); return !(channel != null ? !channel.equals(that.channel) : that.channel != null);
} }
public BytesMetrics getBytesMetrics() { public BytesMetrics getBytesMetrics() {