mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
add explicit this qualifier on all of java
This commit is contained in:
@@ -58,10 +58,10 @@ class ManagementSecurityConfig extends ApplicationProperties {
|
||||
string getValue() { result = this.getValueElement().getValue().trim() }
|
||||
|
||||
/** Holds if `management.security.enabled` is set to `false`. */
|
||||
predicate hasSecurityDisabled() { getValue() = "false" }
|
||||
predicate hasSecurityDisabled() { this.getValue() = "false" }
|
||||
|
||||
/** Holds if `management.security.enabled` is set to `true`. */
|
||||
predicate hasSecurityEnabled() { getValue() = "true" }
|
||||
predicate hasSecurityEnabled() { this.getValue() = "true" }
|
||||
}
|
||||
|
||||
/** The configuration property `management.endpoints.web.exposure.include`. */
|
||||
|
||||
2
java/ql/src/external/Clover.qll
vendored
2
java/ql/src/external/Clover.qll
vendored
@@ -152,7 +152,7 @@ class CloverClass extends CloverMetricsContainer {
|
||||
/** Gets the Java type for this Clover class. */
|
||||
RefType getRealClass() {
|
||||
result
|
||||
.hasQualifiedName(getPackage().getAttribute("name").getValue(),
|
||||
.hasQualifiedName(this.getPackage().getAttribute("name").getValue(),
|
||||
getAttribute("name").getValue())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user