Simplify boolean expressions
[netconf.git] / netconf / tools / netconf-cli / src / main / java / org / opendaylight / netconf / cli / NetconfDeviceConnectionManager.java
index aeebcbf669c772205dbf05d9c6169d777d90c315..99e25bb0c3877aea2b452e6a75233cf196c41ddd 100644 (file)
@@ -110,7 +110,7 @@ public class NetconfDeviceConnectionManager implements Closeable {
                                                     final NetconfClientConfigurationBuilder configBuilder) {
         this.connect(name, address, configBuilder);
         synchronized (handler) {
-            while (handler.isUp() == false) {
+            while (!handler.isUp()) {
                 try {
                     // TODO implement Timeout for unsuccessful connection
                     handler.wait();