Skip to content

Commit 121b24e

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: remove parentheses
1 parent 35fbc95 commit 121b24e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

java/ql/lib/semmle/code/java/security/UrlForwardQuery.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ module UrlForwardFlowConfig implements DataFlow::ConfigSig {
1212
predicate isSource(DataFlow::Node source) {
1313
source instanceof ThreatModelFlowSource and
1414
// excluded due to FPs
15-
not exists(MethodCall mc, Method m | mc.getMethod() = m |
16-
(
17-
m instanceof HttpServletRequestGetRequestUriMethod or
18-
m instanceof HttpServletRequestGetRequestUrlMethod or
19-
m instanceof HttpServletRequestGetPathMethod
20-
) and
15+
not exists(MethodCall mc, Method m |
16+
m instanceof HttpServletRequestGetRequestUriMethod or
17+
m instanceof HttpServletRequestGetRequestUrlMethod or
18+
m instanceof HttpServletRequestGetPathMethod
19+
|
20+
mc.getMethod() = m and
2121
mc = source.asExpr()
2222
)
2323
}

0 commit comments

Comments
 (0)