Simplify boolean expressions
[netconf.git] / netconf / netconf-ssh / src / main / java / org / opendaylight / netconf / ssh / RemoteNetconfCommand.java
index b5a6355d2990c6c26926b6a3fae1280af89dce85..d8d4148a9e3425847fa4ca45a8eb26b7258f6f23 100644 (file)
@@ -142,7 +142,7 @@ public class RemoteNetconfCommand implements AsyncCommand, SessionAware {
 
                 @Override
                 public void operationComplete(final ChannelFuture future) throws Exception {
-                    if (future.isSuccess() == false) {
+                    if (!future.isSuccess()) {
                         LOG.warn("Unable to release internal connection to netconf server on channel: {}",
                                 clientChannel);
                     }