mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Java: Autoformat QL
This commit is contained in:
@@ -37,9 +37,7 @@ class WebComponentMainMethod extends Method {
|
||||
this.getDeclaringType() instanceof ServletClass or
|
||||
this.getDeclaringType() instanceof ServletFilterClass or
|
||||
this.getDeclaringType() instanceof ServletListenerClass or
|
||||
this.getDeclaringType()
|
||||
.getAnAncestor()
|
||||
.hasQualifiedName("org.apache.struts.action", "Action") or // Struts actions
|
||||
this.getDeclaringType().getAnAncestor().hasQualifiedName("org.apache.struts.action", "Action") or // Struts actions
|
||||
this.getDeclaringType()
|
||||
.getAStrictAncestor()
|
||||
.hasQualifiedName("com.opensymphony.xwork2", "ActionSupport") or // Struts 2 actions
|
||||
|
||||
Reference in New Issue
Block a user