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


The following commit(s) were added to refs/heads/master by this push:
     new 235341b  Camel-Salesforce: Fixed CS
235341b is described below

commit 235341ba57cace11adf7481603b0ffad5186bd77
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue May 12 17:50:58 2020 +0200

    Camel-Salesforce: Fixed CS
---
 .../internal/processor/AbstractRestProcessor.java      | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/AbstractRestProcessor.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/AbstractRestProcessor.java
index 5a2c8ed..0d6dee8 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/AbstractRestProcessor.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/AbstractRestProcessor.java
@@ -69,6 +69,15 @@ public abstract class AbstractRestProcessor extends 
AbstractSalesforceProcessor
     private Map<String, Class<?>> classMap;
     private NotFoundBehaviour notFoundBehaviour;
 
+    // used in unit tests
+    AbstractRestProcessor(final SalesforceEndpoint endpoint, final RestClient 
restClient, final Map<String, Class<?>> classMap) {
+        super(endpoint);
+        this.restClient = restClient;
+        this.classMap = classMap;
+        final SalesforceEndpointConfig configuration = 
endpoint.getConfiguration();
+        notFoundBehaviour = configuration.getNotFoundBehaviour();
+    }
+
     public AbstractRestProcessor(SalesforceEndpoint endpoint) {
         super(endpoint);
     }
@@ -96,15 +105,6 @@ public abstract class AbstractRestProcessor extends 
AbstractSalesforceProcessor
         ServiceHelper.stopService(restClient);
     }
 
-    // used in unit tests
-    AbstractRestProcessor(final SalesforceEndpoint endpoint, final RestClient 
restClient, final Map<String, Class<?>> classMap) {
-        super(endpoint);
-        this.restClient = restClient;
-        this.classMap = classMap;
-        final SalesforceEndpointConfig configuration = 
endpoint.getConfiguration();
-        notFoundBehaviour = configuration.getNotFoundBehaviour();
-    }
-
     @Override
     public final boolean process(final Exchange exchange, final AsyncCallback 
callback) {
         // pre-process request message

Reply via email to