Merge pull request #6891 from erik-krogh/fix-java-this

add explicit this qualifier on all of java
This commit is contained in:
Anders Schack-Mulligen
2021-10-18 17:13:37 +02:00
committed by GitHub
122 changed files with 1430 additions and 1297 deletions

View File

@@ -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`. */

View File

@@ -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())
}
}