commit | f1b38bc4fe50824b4927af307e72ce61b054efd9 | [log] [tgz] |
---|---|---|
author | Satish K <satishk@huawei.com> | Sun Nov 22 17:13:51 2015 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Nov 23 19:39:18 2015 +0000 |
tree | dbf7e1ac55efad6353a84d02a4458a0e4907971f | |
parent | 0e47288baeb83adabce49630f1b4232ca6313642 [diff] |
Equals review fix for Dist Tunnel Store Change-Id: Ib893073b991863f53b9e670945a5c916cd957980
diff --git a/incubator/store/src/main/java/org/onosproject/incubator/store/tunnel/impl/DistributedTunnelStore.java b/incubator/store/src/main/java/org/onosproject/incubator/store/tunnel/impl/DistributedTunnelStore.java index 78c6468..0f48313 100644 --- a/incubator/store/src/main/java/org/onosproject/incubator/store/tunnel/impl/DistributedTunnelStore.java +++ b/incubator/store/src/main/java/org/onosproject/incubator/store/tunnel/impl/DistributedTunnelStore.java
@@ -148,7 +148,7 @@ @Override public TunnelId createOrUpdateTunnel(Tunnel tunnel) { // tunnelIdAsKeyStore. - if (tunnel.tunnelId() != null && !"".equals(tunnel.tunnelId())) { + if (tunnel.tunnelId() != null && !"".equals(tunnel.tunnelId().toString())) { Tunnel old = tunnelIdAsKeyStore.get(tunnel.tunnelId()); if (old == null) { log.info("This tunnel[" + tunnel.tunnelId() + "] is not available.");