X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-netconf-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fconnect%2Futil%2FRemoteDeviceId.java;h=333b42e1c5ee794b3816ebd893f851f2f4cbe205;hp=175cb8e2077c83df44117e81baa7d0b0cd3ef6ae;hb=e420318157140a0cf7e9afd5ac33f5814cb54b35;hpb=c0775ca57b008bdb7e2529d00f2e7ce6b878f7e6 diff --git a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/util/RemoteDeviceId.java b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/util/RemoteDeviceId.java index 175cb8e207..333b42e1c5 100644 --- a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/util/RemoteDeviceId.java +++ b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/util/RemoteDeviceId.java @@ -71,13 +71,21 @@ public class RemoteDeviceId { @Override public boolean equals(final Object o) { - if (this == o) return true; - if (!(o instanceof RemoteDeviceId)) return false; + if (this == o) { + return true; + } + if (!(o instanceof RemoteDeviceId)) { + return false; + } final RemoteDeviceId that = (RemoteDeviceId) o; - if (!name.equals(that.name)) return false; - if (!bindingPath.equals(that.bindingPath)) return false; + if (!name.equals(that.name)) { + return false; + } + if (!bindingPath.equals(that.bindingPath)) { + return false; + } return true; }