We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7a082 commit 3368169Copy full SHA for 3368169
java/ql/src/semmle/code/java/dataflow/NullGuards.qll
@@ -36,7 +36,6 @@ InstanceOfExpr instanceofExpr(SsaVariable v, Type type) {
36
*/
37
EqualityTest varEqualityTestExpr(SsaVariable v1, SsaVariable v2, boolean isEqualExpr) {
38
result.hasOperands(v1.getAUse(), v2.getAUse()) and
39
- result instanceof EqualityTest and
40
isEqualExpr = result.polarity()
41
}
42
0 commit comments