Skip to content

Commit 0075d35

Browse files
Update java/ql/src/experimental/Security/CWE/CWE-074/JndiInjectionLib.qll
Co-authored-by: Anders Schack-Mulligen <[email protected]>
1 parent a16295e commit 0075d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/experimental/Security/CWE/CWE-074/JndiInjectionLib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class TypeSpringLdapOperations extends Interface {
4949
/** The interface `org.springframework.ldap.core.ContextMapper`. */
5050
class TypeSpringContextMapper extends Interface {
5151
TypeSpringContextMapper() {
52-
this.hasQualifiedName("org.springframework.ldap.core", "ContextMapper<T>") or
53-
this.hasQualifiedName("org.springframework.ldap", "ContextMapper<T>")
52+
this.getSourceDeclaration().hasQualifiedName("org.springframework.ldap.core", "ContextMapper") or
53+
this.getSourceDeclaration().hasQualifiedName("org.springframework.ldap", "ContextMapper")
5454
}
5555
}
5656

0 commit comments

Comments
 (0)