Skip to content

Commit c31ad01

Browse files
author
Stephan Brandauer
committed
squash ql-for-ql warnings
1 parent c17b0e8 commit c31ad01

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

java/ql/src/Telemetry/AutomodelFrameworkModeCharacteristics.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class FrameworkModeMetadataExtractor extends MetadataExtractor {
173173
e.asParameter() = callable.getParameter(input) and
174174
package = callable.getDeclaringType().getPackage().getName() and
175175
type = callable.getDeclaringType().getErasure().(RefType).nestedName() and
176-
subtypes = considerSubtypes(callable) and
176+
subtypes = this.considerSubtypes(callable) and
177177
name = e.toString() and
178178
signature = ExternalFlow::paramsString(callable)
179179
)

java/ql/src/Telemetry/AutomodelSharedCharacteristics.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ signature module CandidateSig {
5858
predicate isSanitizer(Endpoint e, EndpointType t);
5959

6060
/**
61-
* Holds if `e` is a sink with the label `label`.
61+
* Holds if `e` is a sink with the label `kind`.
6262
*/
6363
predicate isSink(Endpoint e, string kind);
6464

@@ -273,12 +273,12 @@ module SharedCharacteristics<CandidateSig Candidate> {
273273
* Endpoints identified as sinks by the `CandidateSig` implementation are sinks with maximal confidence.
274274
*/
275275
private class KnownSinkCharacteristic extends SinkCharacteristic {
276-
string madLabel;
276+
string madKind;
277277
Candidate::EndpointType endpointType;
278278

279-
KnownSinkCharacteristic() { Candidate::isKnownKind(madLabel, this, endpointType) }
279+
KnownSinkCharacteristic() { Candidate::isKnownKind(madKind, this, endpointType) }
280280

281-
override predicate appliesToEndpoint(Candidate::Endpoint e) { Candidate::isSink(e, madLabel) }
281+
override predicate appliesToEndpoint(Candidate::Endpoint e) { Candidate::isSink(e, madKind) }
282282

283283
override Candidate::EndpointType getSinkType() { result = endpointType }
284284
}

0 commit comments

Comments
 (0)