diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-04-09 07:13:24 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-04-09 05:27:06 +0000 |
commit | 911b0eda3c744c6822134b088fd3da20e793cc0d (patch) | |
tree | 7051cce125d9f868ba496b18f72cdb494ceaa2ed /routing/routing-impl/src | |
parent | 5365646dc85aad32b7be4918122ce6d8e6de2fe3 (diff) |
Remove unused method parameters
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl/src')
-rw-r--r-- | routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java | 4 | ||||
-rw-r--r-- | routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java index 31d371497..6f189af13 100644 --- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java +++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java @@ -47,14 +47,14 @@ public interface Ipv4RoutePathParser extends RouteMapper { final Ipv4RouteNamesFactory namesFactory) { if (parsedHops.size() == 1) { final FibPath path = parsedHops.get(0); - if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(path); + if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(); if (RouteMapper.INSTANCE.isSpecialHop(path)) return specialHop(path); return simpleHop(path, interfaceContext, mappingContext); } return hopList(routeName, parsedHops, interfaceContext, routeHopContext, mappingContext, namesFactory); } - static NextHopOptions tableLookup(final FibPath fibPath) { + static NextHopOptions tableLookup() { return new TableLookupBuilder() .setTableLookupParams( new TableLookupParamsBuilder() diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java index 280a515e1..1c7243ce8 100644 --- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java +++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java @@ -47,14 +47,14 @@ public interface Ipv6RoutePathParser extends RouteMapper { final Ipv6RouteNamesFactory namesFactory) { if (parsedHops.size() == 1) { final FibPath path = parsedHops.get(0); - if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(path); + if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(); if (RouteMapper.INSTANCE.isSpecialHop(path)) return specialHop(path); return simpleHop(path, interfaceContext, mappingContext); } return hopList(routeName, parsedHops, interfaceContext, routeHopContext, mappingContext, namesFactory); } - static NextHopOptions tableLookup(final FibPath fibPath) { + static NextHopOptions tableLookup() { return new TableLookupBuilder() .setTableLookupParams( new TableLookupParamsBuilder() |