Skip to content

Commit e5fa532

Browse files
author
Timo Mueller
committed
Auto formatting .ql file
1 parent eb0a13f commit e5fa532

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

java/ql/src/experimental/Security/CWE/CWE-665/InsecureRmiJmxEnvironmentConfiguration.ql

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ class SafeFlow extends DataFlow::Configuration {
5252
private predicate putsCredentialtypesKey(Expr qualifier) {
5353
exists(MapPutCall put |
5454
put.getKey().(CompileTimeConstantExpr).getStringValue() =
55-
["jmx.remote.rmi.server.credential.types",
56-
"jmx.remote.rmi.server.credentials.filter.pattern"]
57-
58-
or
55+
[
56+
"jmx.remote.rmi.server.credential.types",
57+
"jmx.remote.rmi.server.credentials.filter.pattern"
58+
]
59+
or
5960
put.getKey()
6061
.(FieldAccess)
6162
.getField()

0 commit comments

Comments
 (0)