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 1044049 commit e9390cbCopy full SHA for e9390cb
java/ql/src/utils/GenerateFlowTestCase.qll
@@ -353,14 +353,11 @@ class TestCase extends TTestCase {
353
* will return `newWithMapValue(newWithArrayElement(source()))`.
354
*/
355
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
- )
+ stack = input and result = "source()"
+ or
+ exists(SummaryComponentStack s |
+ result = "newWith" + contentToken(getContent(s.head())) + "(" + this.getInput(s) + ")" and
+ stack = s.tail()
364
)
365
}
366
0 commit comments