You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/12/18 09:18:14 UTC
[camel] branch sandbox/camel-3.x updated: Camel-Iota: Fixed CS
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/sandbox/camel-3.x by this push:
new 9c87c9a Camel-Iota: Fixed CS
9c87c9a is described below
commit 9c87c9aae9d9efe81c92a16089909e8890ecdbf9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 18 10:17:52 2018 +0100
Camel-Iota: Fixed CS
---
.../src/main/java/org/apache/camel/component/iota/IOTAProducer.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-iota/src/main/java/org/apache/camel/component/iota/IOTAProducer.java b/components/camel-iota/src/main/java/org/apache/camel/component/iota/IOTAProducer.java
index 11c2e3e..baad86d 100644
--- a/components/camel-iota/src/main/java/org/apache/camel/component/iota/IOTAProducer.java
+++ b/components/camel-iota/src/main/java/org/apache/camel/component/iota/IOTAProducer.java
@@ -70,7 +70,8 @@ public class IOTAProducer extends DefaultProducer {
List<Transfer> transfers = new ArrayList<>();
transfers.add(new Transfer(address, value, message, tag));
- SendTransferResponse response = endpoint.getApiClient().sendTransfer(seed, endpoint.getSecurityLevel(), endpoint.getDepth(), endpoint.getMinWeightMagnitude(), transfers, null, null, false, true, null);
+ SendTransferResponse response = endpoint.getApiClient()
+ .sendTransfer(seed, endpoint.getSecurityLevel(), endpoint.getDepth(), endpoint.getMinWeightMagnitude(), transfers, null, null, false, true, null);
exchange.getIn().setBody(response.getTransactions());
} else if (endpoint.getOperation().equals(IOTAConstants.GET_NEW_ADDRESS_OPERATION)) {