summaryrefslogtreecommitdiffstats
path: root/l3/impl
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-04-09 07:13:24 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-04-09 05:27:06 +0000
commit911b0eda3c744c6822134b088fd3da20e793cc0d (patch)
tree7051cce125d9f868ba496b18f72cdb494ceaa2ed /l3/impl
parent5365646dc85aad32b7be4918122ce6d8e6de2fe3 (diff)
Remove unused method parameters
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'l3/impl')
-rw-r--r--l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/Ipv4AddressCustomizer.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/Ipv4AddressCustomizer.java b/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/Ipv4AddressCustomizer.java
index b66877ff0..e7477361f 100644
--- a/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/Ipv4AddressCustomizer.java
+++ b/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/Ipv4AddressCustomizer.java
@@ -59,7 +59,7 @@ public class Ipv4AddressCustomizer extends FutureJVppCustomizer
final String interfaceName = id.firstKeyOf(Interface.class).getName();
final int interfaceIndex = interfaceContext.getIndex(interfaceName, writeContext.getMappingContext());
// TODO - HC2VPP-92 - Add more descriptive exception handling after https://jira.fd.io/browse/VPP-649
- setAddress(true, id, interfaceName, interfaceIndex, dataAfter, writeContext);
+ setAddress(true, id, interfaceName, interfaceIndex, dataAfter);
}
@Override
@@ -69,12 +69,11 @@ public class Ipv4AddressCustomizer extends FutureJVppCustomizer
final String interfaceName = id.firstKeyOf(Interface.class).getName();
final int interfaceIndex = interfaceContext.getIndex(interfaceName, writeContext.getMappingContext());
- setAddress(false, id, interfaceName, interfaceIndex, dataBefore, writeContext);
+ setAddress(false, id, interfaceName, interfaceIndex, dataBefore);
}
private void setAddress(boolean add, final InstanceIdentifier<Address> id, final String interfaceName,
- final int interfaceIndex, final Address address,
- final WriteContext writeContext) throws WriteFailedException {
+ final int interfaceIndex, final Address address) throws WriteFailedException {
Subnet subnet = address.getSubnet();