Java: Autoformat QL

This commit is contained in:
Ian Lynagh
2022-02-25 19:08:08 +00:00
parent 691473bd6e
commit 0bf1370cd5
4 changed files with 7 additions and 11 deletions

View File

@@ -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