aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/snat-plugin
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 /plugins/snat-plugin
parent1357f3b175b4d5b05fb25e9be356695fea9f7e35 (diff)
Fix coverity issues in jvpp (newlines + CompletableDumpFuture.ctxId)
Change-Id: I2931982ac1ae64313a6ab781212793620af24585 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'plugins/snat-plugin')
-rw-r--r--plugins/snat-plugin/snat/jvpp/io/fd/vpp/jvpp/snat/test/CallbackApiTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/snat-plugin/snat/jvpp/io/fd/vpp/jvpp/snat/test/CallbackApiTest.java b/plugins/snat-plugin/snat/jvpp/io/fd/vpp/jvpp/snat/test/CallbackApiTest.java
index 850e1774fbc..fd462bda7c6 100644
--- a/plugins/snat-plugin/snat/jvpp/io/fd/vpp/jvpp/snat/test/CallbackApiTest.java
+++ b/plugins/snat-plugin/snat/jvpp/io/fd/vpp/jvpp/snat/test/CallbackApiTest.java
@@ -31,13 +31,13 @@ public class CallbackApiTest {
@Override
public void onSnatInterfaceAddDelFeatureReply(final SnatInterfaceAddDelFeatureReply msg) {
- System.out.printf("Received SnatInterfaceAddDelFeatureReply: context=%d\n",
+ System.out.printf("Received SnatInterfaceAddDelFeatureReply: context=%d%n",
msg.context);
}
@Override
public void onError(VppCallbackException ex) {
- System.out.printf("Received onError exception: call=%s, context=%d, retval=%d\n", ex.getMethodName(),
+ System.out.printf("Received onError exception: call=%s, context=%d, retval=%d%n", ex.getMethodName(),
ex.getCtxId(), ex.getErrorCode());
}
}
@@ -59,7 +59,7 @@ public class CallbackApiTest {
request.isInside = 1;
request.swIfIndex = 1;
final int result = jvpp.send(request);
- System.out.printf("SnatInterfaceAddDelFeature send result = %d\n", result);
+ System.out.printf("SnatInterfaceAddDelFeature send result = %d%n", result);
Thread.sleep(1000);