Skip to content

Commit

Permalink
Fix code quality issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
JKAUSHALYA committed Aug 2, 2019
1 parent 8daa7b5 commit a305917
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -146,7 +146,8 @@ protected String getAuthorizationServerEndpoint(Map<String, String> authenticato
authorizationEP = LinkedInAuthenticatorConstants.LINKEDIN_OAUTH_ENDPOINT_V2;
}

return StringUtils.isNotEmpty(authorizationEP) ? authorizationEP : LinkedInAuthenticatorConstants.LINKEDIN_OAUTH_ENDPOINT_V2;
return StringUtils.isNotEmpty(authorizationEP) ? authorizationEP : LinkedInAuthenticatorConstants
.LINKEDIN_OAUTH_ENDPOINT_V2;
}

/**
Expand All @@ -162,7 +163,8 @@ protected String getTokenEndpoint(Map<String, String> authenticatorProperties) {
tokenEndPoint = LinkedInAuthenticatorConstants.LINKEDIN_TOKEN_ENDPOINT_V2;
}

return StringUtils.isNotEmpty(tokenEndPoint) ? tokenEndPoint : LinkedInAuthenticatorConstants.LINKEDIN_TOKEN_ENDPOINT_V2;
return StringUtils.isNotEmpty(tokenEndPoint) ? tokenEndPoint : LinkedInAuthenticatorConstants
.LINKEDIN_TOKEN_ENDPOINT_V2;
}

/**
Expand Down

0 comments on commit a305917

Please sign in to comment.