diff options
author | Dan Timoney <dtimoney@att.com> | 2019-07-30 12:35:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-30 12:35:02 +0000 |
commit | 877157e55de7ac18fdc9f63e1aafa757f51c030b (patch) | |
tree | e0d04b3719ec80ad5a19db79ef941aca8b2d92ae /message-router | |
parent | cae09e0f21ddccc61fb8a8fb6d51b404f7832b13 (diff) | |
parent | 41c81f1a6c41d4e480749b71777a934fc70b0c62 (diff) |
Merge "Directly append the argument of String.valueOf()"
Diffstat (limited to 'message-router')
-rwxr-xr-x | message-router/publisher/sample.client/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/client/impl/ClientImpl.java | 2 |
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 8ce066950..d1610305a 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);
|