Skip to content

Commit e9390cb

Browse files
committed
Remove superfluous conjunct
1 parent 1044049 commit e9390cb

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

java/ql/src/utils/GenerateFlowTestCase.qll

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,14 +353,11 @@ class TestCase extends TTestCase {
353353
* will return `newWithMapValue(newWithArrayElement(source()))`.
354354
*/
355355
string getInput(SummaryComponentStack stack) {
356-
stack = input.drop(_) and
357-
(
358-
stack = input and result = "source()"
359-
or
360-
exists(SummaryComponentStack s |
361-
result = "newWith" + contentToken(getContent(s.head())) + "(" + this.getInput(s) + ")" and
362-
stack = s.tail()
363-
)
356+
stack = input and result = "source()"
357+
or
358+
exists(SummaryComponentStack s |
359+
result = "newWith" + contentToken(getContent(s.head())) + "(" + this.getInput(s) + ")" and
360+
stack = s.tail()
364361
)
365362
}
366363

0 commit comments

Comments
 (0)