Skip to content

Commit

Permalink
Fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Nahornyi committed Aug 2, 2021
1 parent ad92032 commit d1c377b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ private static String attlConsentFromQueryStringParams(HttpRequestContext httpRe

private static Integer gdprFromQueryStringParams(HttpRequestContext httpRequest) {
final String gdprAppliesParam = httpRequest.getQueryParams().get(GDPR_APPLIES_PARAM);
if ("true".equals(gdprAppliesParam)) {
if (StringUtils.equals(gdprAppliesParam, "true")) {
return 1;
} else if ("false".equals(gdprAppliesParam)) {
} else if (StringUtils.equals(gdprAppliesParam, "false")) {
return 0;
}

Expand Down

0 comments on commit d1c377b

Please sign in to comment.