Simplify boolean expressions
[netconf.git] / netconf / tools / netconf-cli / src / main / java / org / opendaylight / netconf / cli / Cli.java
index 8df78fa542770ccb1d6d77ba401622fbc9ebf752..f29c8062b1c0b8ff075ce2bf7ea233aa6681ed94 100644 (file)
@@ -67,7 +67,7 @@ public class Cli implements Runnable {
                 final String commandName = consoleIO.read();
                 final Optional<Command> commandOpt = commandRegistry.getCommand(commandName);
 
-                if (commandOpt.isPresent() == false) {
+                if (!commandOpt.isPresent()) {
                     continue;
                 }