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 34db353 Fixed CS for Camel-Linkedin
34db353 is described below
commit 34db35363bf77c79928e614975eb9576b891407d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 11 09:08:20 2019 +0100
Fixed CS for Camel-Linkedin
---
.../apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
b/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
index 8633579..c7aa20d 100644
---
a/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
+++
b/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
@@ -158,7 +158,7 @@ public final class LinkedInOAuthRequestFilter implements
ClientRequestFilter {
//if redirect url != null, it means that it contains code= and
there is no need to continue
if (redirectionUrl != null) {
redirectQuery = redirectionUrl.getQuery();
- } else if(afterLoginRedirectedResponse.statusCode() == SC_OK){
+ } else if (afterLoginRedirectedResponse.statusCode() == SC_OK) {
//allow permission page is in response (or still login page
containing errors)
final Document allowPage =
afterLoginRedirectedResponse.parse();
//detect possible login errors