Java: Remove omittable exists variables

This commit is contained in:
Tony Torralba
2022-12-21 16:31:20 +01:00
parent 7a92970d89
commit 32471d326e
63 changed files with 319 additions and 418 deletions

View File

@@ -22,8 +22,8 @@ class SinkTest extends InlineExpectationsTest {
override predicate hasActualResult(Location l, string element, string tag, string value) {
tag = "taintReachesSink" and
value = "" and
exists(Conf conf, DataFlow::Node source, DataFlow::Node sink |
conf.hasFlow(source, sink) and
exists(Conf conf, DataFlow::Node source |
conf.hasFlow(source, _) and
l = source.getLocation() and
element = source.toString()
)