Skip to content

Commit 73e736b

Browse files
committed
Enhanced comments according to the review comment
1 parent 0075d35 commit 73e736b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,21 @@ class TypeSearchControls extends Class {
3838
TypeSearchControls() { this.hasQualifiedName("javax.naming.directory", "SearchControls") }
3939
}
4040

41-
/** The interface `org.springframework.ldap.core.LdapOperations`. */
41+
/**
42+
* The interface `org.springframework.ldap.core.LdapOperations` (spring-ldap 1.2.x and newer) or
43+
* `org.springframework.ldap.LdapOperations` (spring-ldap 1.1.x).
44+
*/
4245
class TypeSpringLdapOperations extends Interface {
4346
TypeSpringLdapOperations() {
4447
this.hasQualifiedName("org.springframework.ldap.core", "LdapOperations") or
4548
this.hasQualifiedName("org.springframework.ldap", "LdapOperations")
4649
}
4750
}
4851

49-
/** The interface `org.springframework.ldap.core.ContextMapper`. */
52+
/**
53+
* The interface `org.springframework.ldap.core.ContextMapper` (spring-ldap 1.2.x and newer) or
54+
* `org.springframework.ldap.ContextMapper` (spring-ldap 1.1.x).
55+
*/
5056
class TypeSpringContextMapper extends Interface {
5157
TypeSpringContextMapper() {
5258
this.getSourceDeclaration().hasQualifiedName("org.springframework.ldap.core", "ContextMapper") or

0 commit comments

Comments
 (0)