Committed by
Gerrit Code Review
Equals review fix for Dist Tunnel Store
Change-Id: Ib893073b991863f53b9e670945a5c916cd957980
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -148,7 +148,7 @@ public class DistributedTunnelStore | ... | @@ -148,7 +148,7 @@ public class DistributedTunnelStore |
148 | @Override | 148 | @Override |
149 | public TunnelId createOrUpdateTunnel(Tunnel tunnel) { | 149 | public TunnelId createOrUpdateTunnel(Tunnel tunnel) { |
150 | // tunnelIdAsKeyStore. | 150 | // tunnelIdAsKeyStore. |
151 | - if (tunnel.tunnelId() != null && !"".equals(tunnel.tunnelId())) { | 151 | + if (tunnel.tunnelId() != null && !"".equals(tunnel.tunnelId().toString())) { |
152 | Tunnel old = tunnelIdAsKeyStore.get(tunnel.tunnelId()); | 152 | Tunnel old = tunnelIdAsKeyStore.get(tunnel.tunnelId()); |
153 | if (old == null) { | 153 | if (old == null) { |
154 | log.info("This tunnel[" + tunnel.tunnelId() + "] is not available."); | 154 | log.info("This tunnel[" + tunnel.tunnelId() + "] is not available."); | ... | ... |
-
Please register or login to post a comment