mirror of
https://github.com/github/codeql.git
synced 2026-05-21 14:47:10 +02:00
Java: Fix some autoformatting.
This commit is contained in:
@@ -1,23 +1,20 @@
|
||||
import java
|
||||
import semmle.code.java.dataflow.ExternalFlowConfiguration
|
||||
|
||||
|
||||
string kind() {
|
||||
result = [
|
||||
"remote",
|
||||
"local",
|
||||
"android",
|
||||
"sql",
|
||||
"android-external-storage-dir",
|
||||
"standard",
|
||||
"expansive",
|
||||
"hucairz",
|
||||
"request",
|
||||
"response",
|
||||
]
|
||||
result =
|
||||
[
|
||||
"remote", "local", "android", "sql", "android-external-storage-dir", "standard", "expansive",
|
||||
"hucairz", "request", "response",
|
||||
]
|
||||
}
|
||||
|
||||
from string a, string b
|
||||
where (a = kind())
|
||||
and ((supportedSourceModel(a) and b = "YES") or (not supportedSourceModel(a) and b = "NO"))
|
||||
where
|
||||
a = kind() and
|
||||
(
|
||||
supportedSourceModel(a) and b = "YES"
|
||||
or
|
||||
not supportedSourceModel(a) and b = "NO"
|
||||
)
|
||||
select a, b
|
||||
|
||||
Reference in New Issue
Block a user