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
/
sal-netconf-connector
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
sal
/
connect
/
util
/
RemoteDeviceId.java
diff --git
a/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/util/RemoteDeviceId.java
b/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/util/RemoteDeviceId.java
index c52e55e7f5070e6b83987cc402e7ce301ccbd650..bfb39330aec756ff4336a9c85a1a0474581494d4 100644
(file)
--- a/
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/util/RemoteDeviceId.java
+++ b/
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/util/RemoteDeviceId.java
@@
-160,11
+160,7
@@
public final class RemoteDeviceId {
if (!name.equals(that.name)) {
return false;
}
- if (!bindingPath.equals(that.bindingPath)) {
- return false;
- }
-
- return true;
+ return bindingPath.equals(that.bindingPath);
}
@Override