Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Simplify boolean expressions
[netconf.git]
/
netconf
/
tools
/
netconf-cli
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
cli
/
Cli.java
diff --git
a/netconf/tools/netconf-cli/src/main/java/org/opendaylight/netconf/cli/Cli.java
b/netconf/tools/netconf-cli/src/main/java/org/opendaylight/netconf/cli/Cli.java
index 8df78fa542770ccb1d6d77ba401622fbc9ebf752..f29c8062b1c0b8ff075ce2bf7ea233aa6681ed94 100644
(file)
--- a/
netconf/tools/netconf-cli/src/main/java/org/opendaylight/netconf/cli/Cli.java
+++ b/
netconf/tools/netconf-cli/src/main/java/org/opendaylight/netconf/cli/Cli.java
@@
-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;
}