Skip to content

Commit bc55afc

Browse files
author
Stephan Brandauer
committed
Java: Automodel framework mode: use new interface
1 parent 551b34e commit bc55afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/src/Telemetry/AutomodelFrameworkModeExtractCandidates.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ where
3535
// a non-sink, and we surface only endpoints that have at least one such sink type.
3636
message =
3737
strictconcat(AutomodelEndpointTypes::SinkType sinkType |
38-
not CharacteristicsImpl::isKnownSink(endpoint, sinkType) and
38+
not CharacteristicsImpl::isKnownSink(endpoint, sinkType, _) and
3939
CharacteristicsImpl::isSinkCandidate(endpoint, sinkType)
4040
|
4141
sinkType, ", "

java/ql/src/Telemetry/AutomodelFrameworkModeExtractPositiveExamples.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ where
2222
not erroneousEndpoints(endpoint, _, _, _, _, false) and
2323
meta.hasMetadata(endpoint, package, type, subtypes, name, signature, input, parameterName) and
2424
// Extract positive examples of sinks belonging to the existing ATM query configurations.
25-
CharacteristicsImpl::isKnownSink(endpoint, sinkType)
25+
CharacteristicsImpl::isKnownSink(endpoint, sinkType, _)
2626
select endpoint,
2727
sinkType + "\nrelated locations: $@, $@." + "\nmetadata: $@, $@, $@, $@, $@, $@, $@.", //
2828
CharacteristicsImpl::getRelatedLocationOrCandidate(endpoint, MethodDoc()), "MethodDoc", //

0 commit comments

Comments
 (0)