Java: Use this consistently in QL classes.

This commit is contained in:
intrigus
2021-04-15 19:36:11 +02:00
parent 0c1ce74135
commit 45cec3df1c

View File

@@ -23,7 +23,7 @@ import DataFlow::PathGraph
*/
class InsecureX509TrustManager extends RefType {
InsecureX509TrustManager() {
getASupertype*() instanceof X509TrustManager and
this.getASupertype*() instanceof X509TrustManager and
exists(Method m |
m.getDeclaringType() = this and
m.hasName("checkServerTrusted") and
@@ -34,7 +34,7 @@ class InsecureX509TrustManager extends RefType {
/** The `java.security.cert.CertificateException` class. */
private class CertificateException extends RefType {
CertificateException() { hasQualifiedName("java.security.cert", "CertificateException") }
CertificateException() { this.hasQualifiedName("java.security.cert", "CertificateException") }
}
/**