mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
Java: Remove omittable exists variables
This commit is contained in:
@@ -9,9 +9,7 @@ class ImplicitPendingIntentsTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "hasImplicitPendingIntent" and
|
||||
exists(DataFlow::Node src, DataFlow::Node sink |
|
||||
any(ImplicitPendingIntentStartConf c).hasFlow(src, sink)
|
||||
|
|
||||
exists(DataFlow::Node sink | any(ImplicitPendingIntentStartConf c).hasFlowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user