From c2035e85d2bef276a8da5d84e88e390fa1ceaf9c Mon Sep 17 00:00:00 2001 From: tiferet Date: Wed, 16 Nov 2022 11:55:23 -0800 Subject: [PATCH] Be explicit in requiring that each ATM config set its endpoint type. --- .../lib/experimental/adaptivethreatmodeling/ATMConfig.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll index 0ca7260f12a..571673639ee 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll @@ -104,7 +104,7 @@ abstract class AtmConfig extends string { * Get an endpoint type for the sinks of this query. A query may have multiple applicable * endpoint types for its sinks. */ - EndpointType getASinkEndpointType() { none() } + abstract EndpointType getASinkEndpointType(); /** * EXPERIMENTAL. This API may change in the future.