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 /ioam/impl | |
parent | 5365646dc85aad32b7be4918122ce6d8e6de2fe3 (diff) |
Remove unused method parameters
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'ioam/impl')
-rwxr-xr-x | ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java b/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java index af9e5dadd..a04ef33ab 100755 --- a/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java +++ b/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java @@ -68,7 +68,7 @@ public class IoamTraceWriterCustomizer extends FutureJVppIoamtraceCustomizer @Nonnull final TraceConfig dataAfter, @Nonnull final WriteContext ctx) throws WriteFailedException { try { - deleteTraceConfig(dataBefore, id); + deleteTraceConfig(id); addTraceConfig(dataAfter, id); } catch (Exception exUpdate) { LOG.error("Update Trace Configuration failed", exUpdate); @@ -83,7 +83,7 @@ public class IoamTraceWriterCustomizer extends FutureJVppIoamtraceCustomizer @Nonnull final TraceConfig dataBefore, @Nonnull final WriteContext ctx) throws WriteFailedException { try { - deleteTraceConfig(dataBefore, id); + deleteTraceConfig(id); } catch (Exception exDelete) { LOG.error("Delete Trace Configuration failed", exDelete); throw new WriteFailedException.DeleteFailedException(id, exDelete); @@ -109,13 +109,13 @@ public class IoamTraceWriterCustomizer extends FutureJVppIoamtraceCustomizer return reply; } - public TraceProfileDelReply deleteTraceConfig(TraceConfig dataBefore, - final InstanceIdentifier<TraceConfig> id) throws WriteFailedException { + public TraceProfileDelReply deleteTraceConfig(final InstanceIdentifier<TraceConfig> id) + throws WriteFailedException { TraceProfileDel del = new TraceProfileDel(); /* Write to VPP */ - TraceProfileDelReply reply = getReplyForWrite((getFutureJVppIoamtrace(). - traceProfileDel(del).toCompletableFuture()), id); + TraceProfileDelReply reply = getReplyForWrite(getFutureJVppIoamtrace().traceProfileDel(del) + .toCompletableFuture(), id); return reply; } |