Skip to content

Commit ab75a42

Browse files
committed
Java: Fix perf issue.
1 parent 41de038 commit ab75a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/frameworks/struts/StrutsActions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Struts2PrepareMethod extends Method {
130130
*/
131131
class Struts2ActionSupportClass extends Class {
132132
Struts2ActionSupportClass() {
133-
this.getAStrictAncestor().hasQualifiedName("com.opensymphony.xwork2", "ActionSupport")
133+
this.getASourceSupertype+().hasQualifiedName("com.opensymphony.xwork2", "ActionSupport")
134134
}
135135

136136
/**

0 commit comments

Comments
 (0)