Skip to content

Commit f2bc584

Browse files
committed
format
1 parent a62eae5 commit f2bc584

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

java/ql/src/experimental/Security/CWE/CWE-297/IgnoredHostnameVerification.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ private class HostnameVerificationCall extends MethodAccess {
2121
}
2222

2323
/** Holds if the result of the call is not used. */
24-
predicate isIgnored() {
25-
this = any(ExprStmt es).getExpr()
26-
}
24+
predicate isIgnored() { this = any(ExprStmt es).getExpr() }
2725
}
2826

2927
from HostnameVerificationCall verification

0 commit comments

Comments
 (0)