Skip to content

Commit

Permalink
adapting review comments from Chamila
Browse files Browse the repository at this point in the history
  • Loading branch information
lanka@wso2.com authored and lanka@wso2.com committed Mar 6, 2016
1 parent ad31748 commit a26baf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static String extractAccessTokenFromQueryString(String query) {
String[] params = query.split("&");
for (String param : params) {
String name = param.split("=")[0];
if (name.contains("access_token")) {
if (name.contains(OAuth2Constant.ACCESS_TOKEN)) {
return param.split("=")[1];
}
}
Expand Down

0 comments on commit a26baf3

Please sign in to comment.