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 2019/07/23 06:41:08 UTC

[camel] 02/02: Camel-Corda: Fixed CS

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1e9940631bac11b0cae58a12506b0d883278eb72
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 23 08:40:43 2019 +0200

    Camel-Corda: Fixed CS
---
 .../component/corda/CordaConsumerTestSupport.java  | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/components/camel-corda/src/test/java/org/apache/camel/component/corda/CordaConsumerTestSupport.java b/components/camel-corda/src/test/java/org/apache/camel/component/corda/CordaConsumerTestSupport.java
index 64ccd40..1872ee0 100644
--- a/components/camel-corda/src/test/java/org/apache/camel/component/corda/CordaConsumerTestSupport.java
+++ b/components/camel-corda/src/test/java/org/apache/camel/component/corda/CordaConsumerTestSupport.java
@@ -42,36 +42,36 @@ public class CordaConsumerTestSupport extends CordaTestSupport {
     
     @BindToRegistry("arguments")
     public String[] addArgs() {
-    	String [] args = new String[] {"Hello"};
-    	return args;
+        String [] args = new String[] {"Hello"};
+        return args;
     }
 
     @BindToRegistry("flowLociClass")
     public Class<FlowLogic<String>> addFlowLociClass() throws Exception {
-    	Class<FlowLogic<String>> flowLociClass = (Class<FlowLogic<String>>) Class.forName("org.apache.camel.component.corda.CamelFlow");
-    	return flowLociClass;
+        Class<FlowLogic<String>> flowLociClass = (Class<FlowLogic<String>>) Class.forName("org.apache.camel.component.corda.CamelFlow");
+        return flowLociClass;
     }
     
     @BindToRegistry("queryCriteria")
     public QueryCriteria addCriteria() {
-    	QueryCriteria.VaultQueryCriteria criteria = new QueryCriteria.VaultQueryCriteria(Vault.StateStatus.CONSUMED);
-    	return criteria;
+        QueryCriteria.VaultQueryCriteria criteria = new QueryCriteria.VaultQueryCriteria(Vault.StateStatus.CONSUMED);
+        return criteria;
     }
     
     @BindToRegistry("pageSpecification")
     public PageSpecification addPageSpec() {
-    	PageSpecification pageSpec = new PageSpecification(DEFAULT_PAGE_NUM, MAX_PAGE_SIZE);
-    	return pageSpec;
+        PageSpecification pageSpec = new PageSpecification(DEFAULT_PAGE_NUM, MAX_PAGE_SIZE);
+        return pageSpec;
     }
     
     @BindToRegistry("contractStateClass")
     public Class<OwnableState> addContractStateClass() {
-    	return OwnableState.class;
+        return OwnableState.class;
     }
     
     @BindToRegistry("sort")
     public Sort.SortColumn addSort() {
-    	Sort.SortColumn sortByUid = new Sort.SortColumn(new SortAttribute.Standard(Sort.LinearStateAttribute.UUID), Sort.Direction.DESC);
-    	return sortByUid;
+        Sort.SortColumn sortByUid = new Sort.SortColumn(new SortAttribute.Standard(Sort.LinearStateAttribute.UUID), Sort.Direction.DESC);
+        return sortByUid;
     }
 }