We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d6177 commit 1bd5eb5Copy full SHA for 1bd5eb5
java/ql/src/utils/FlowTestCase.qll
@@ -236,11 +236,9 @@ class TestCase extends TTestCase {
236
or
237
exists(SummaryComponentStack s | s.tail() = stack |
238
// we currently only know the type if the stack is one level in
239
- s = input and
240
- result = SupportMethod::genMethodFor(this.getInputType(), s).getCall(this.getInput(s))
241
- or
242
- not s = input and
243
- result = SupportMethod::genMethodForContent(s).getCall(this.getInput(s))
+ if s = input
+ then result = SupportMethod::genMethodFor(this.getInputType(), s).getCall(this.getInput(s))
+ else result = SupportMethod::genMethodForContent(s).getCall(this.getInput(s))
244
)
245
}
246
0 commit comments