mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
remove unnecessary 'exists'
This commit is contained in:
@@ -15,8 +15,8 @@ import java
|
||||
import semmle.code.java.security.InsufficientKeySizeQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where exists(KeySizeConfiguration cfg | cfg.hasFlowPath(source, sink))
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink, KeySizeConfiguration cfg
|
||||
where cfg.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink,
|
||||
"This $@ is less than the recommended key size of " + source.getState() + " bits.",
|
||||
source.getNode(), "key size"
|
||||
|
||||
Reference in New Issue
Block a user