aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmessage-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/message-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java b/message-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java
index 8ce06695..d1610305 100755
--- a/message-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java
+++ b/message-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java
@@ -48,7 +48,7 @@ public class ClientImpl {
public void init() {
for (int i = 0; i < 5; i++) {
- String body = "{\"hello\":\"world " + String.valueOf(Math.random()) + "\"}";
+ String body = "{\"hello\":\"world " + Math.random() + "\"}";
logger.error("Loop iteration " + i + " sending body " + body + " to the topic " + topic);
Boolean result = publisher.publish(topic, body);
logger.error("Loop iteration " + i + " returned the boolean value " + result);