To prevent implicit type casting 80/73380/1
authorEdw7n <n.edwin.anthony@ericsson.com>
Sat, 23 Jun 2018 10:41:28 +0000 (16:11 +0530)
committerEdw7n <n.edwin.anthony@ericsson.com>
Sat, 23 Jun 2018 10:43:04 +0000 (16:13 +0530)
- can lead to RPC failure in case of tunnelId not being set

Change-Id: I81c70110e97405e7caa8cea536041189983eba23
Signed-off-by: Edw7n <n.edwin.anthony@ericsson.com>
itm/itm-impl/src/main/java/org/opendaylight/genius/itm/rpc/ItmManagerRpcService.java

index 3aaf5a271bad01138ce403a6450f02877b57410c..aaca1c034d6b5956c4c97daffedd0216af11f72e 100644 (file)
@@ -1145,7 +1145,7 @@ public class ItmManagerRpcService implements ItmRpcService {
     }
 
     private ListenableFuture<GetEgressActionsForTunnelOutput> getEgressActionsForInterface(String interfaceName,
-           long tunnelKey, Integer actionKey) throws ReadFailedException {
+           Long tunnelKey, Integer actionKey) throws ReadFailedException {
         int actionKeyStart = actionKey == null ? 0 : actionKey;
         DpnTepInterfaceInfo interfaceInfo = dpnTepStateCache.getTunnelFromCache(interfaceName);
         if (interfaceInfo == null) {