Skip to content
Permalink
Browse files
CB-113 android: Does not pass sonarqube scan
The problem is "Correctness - Suspicious reference comparison of Boolean values",
which sonarqube considers major.

 This closes #20
  • Loading branch information
rob-close authored and vladimir-kotikov committed Jun 8, 2016
1 parent c10338d commit c2c0072378193710238d1fab1f12013b9fd359bb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -118,7 +118,7 @@ public Boolean shouldAllowNavigation(String url) {

@Override
public Boolean shouldAllowRequest(String url) {
if (Boolean.TRUE == shouldAllowNavigation(url)) {
if (shouldAllowNavigation(url)) {
return true;
}
if (allowedRequests.isUrlWhiteListed(url)) {

0 comments on commit c2c0072

Please sign in to comment.