camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] camel git commit: Fixed CS. This closes #826.
Date Fri, 05 Feb 2016 08:55:15 GMT
Fixed CS. This closes #826.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/532de5b9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/532de5b9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/532de5b9

Branch: refs/heads/camel-2.16.x
Commit: 532de5b923256b1adb66ea79f5013267fdb4968c
Parents: 81392e1
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Feb 5 09:54:32 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Feb 5 09:55:04 2016 +0100

----------------------------------------------------------------------
 .../salesforce/internal/client/SalesforceSecurityListener.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/532de5b9/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/SalesforceSecurityListener.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/SalesforceSecurityListener.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/SalesforceSecurityListener.java
index 2ef9e98..09fde7a 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/SalesforceSecurityListener.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/SalesforceSecurityListener.java
@@ -93,9 +93,7 @@ public class SalesforceSecurityListener extends HttpEventListenerWrapper
{
 
     private boolean isInvalidSessionError(SalesforceException e) {
         e = getRootSalesforceException(e);
-        return e.getErrors() != null &&
-                    e.getErrors().size() == 1 &&
-                    "InvalidSessionId".equals(e.getErrors().get(0).getErrorCode());
+        return e.getErrors() != null && e.getErrors().size() == 1 && "InvalidSessionId".equals(e.getErrors().get(0).getErrorCode());
     }
 
     private SalesforceException getRootSalesforceException(SalesforceException e) {


Mime
View raw message