aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/java/jvpp-registry
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-10-14 11:45:00 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2016-10-19 12:46:45 +0000
commit1ce0879900031d530333799dbfa564e66b8dcf80 (patch)
tree4adec3a11176d64283ff074987becca4054dd9d0 /vpp-api/java/jvpp-registry
parent1357f3b175b4d5b05fb25e9be356695fea9f7e35 (diff)
Fix coverity issues in jvpp (newlines + CompletableDumpFuture.ctxId)
Change-Id: I2931982ac1ae64313a6ab781212793620af24585 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-api/java/jvpp-registry')
-rw-r--r--vpp-api/java/jvpp-registry/io/fd/vpp/jvpp/future/AbstractFutureJVppInvoker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/vpp-api/java/jvpp-registry/io/fd/vpp/jvpp/future/AbstractFutureJVppInvoker.java b/vpp-api/java/jvpp-registry/io/fd/vpp/jvpp/future/AbstractFutureJVppInvoker.java
index 2067a91a1d1..ed8b8db804d 100644
--- a/vpp-api/java/jvpp-registry/io/fd/vpp/jvpp/future/AbstractFutureJVppInvoker.java
+++ b/vpp-api/java/jvpp-registry/io/fd/vpp/jvpp/future/AbstractFutureJVppInvoker.java
@@ -116,14 +116,14 @@ public abstract class AbstractFutureJVppInvoker implements FutureJVppInvoker {
public static final class CompletableDumpFuture<T extends JVppReplyDump<?, ?>> extends CompletableFuture<T> {
private final T replyDump;
- private final long contextId;
+ private final int contextId;
- public CompletableDumpFuture(final long contextId, final T emptyDump) {
+ public CompletableDumpFuture(final int contextId, final T emptyDump) {
this.contextId = contextId;
this.replyDump = emptyDump;
}
- public long getContextId() {
+ public int getContextId() {
return contextId;
}