Skip to content

Commit de4e01a

Browse files
author
annarailton
committed
1 parent 4eaec39 commit de4e01a

File tree

1 file changed

+4
-4
lines changed
  • javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling

1 file changed

+4
-4
lines changed

javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* representation of each of these classes.
77
*/
88
newtype TEndpointType =
9-
TNotASinkType() or
9+
TNegativeType() or
1010
TXssSinkType() or
1111
TNosqlInjectionSinkType() or
1212
TSqlInjectionSinkType() or
@@ -21,9 +21,9 @@ abstract class EndpointType extends TEndpointType {
2121
string toString() { result = getDescription() }
2222
}
2323

24-
/** The `NotASink` class that can be predicted by endpoint scoring models. */
25-
class NotASinkType extends EndpointType, TNotASinkType {
26-
override string getDescription() { result = "NotASink" }
24+
/** The `Negative` class that can be predicted by endpoint scoring models. */
25+
class NegativeType extends EndpointType, TNegativeType {
26+
override string getDescription() { result = "Negative" }
2727

2828
override int getEncoding() { result = 0 }
2929
}

0 commit comments

Comments
 (0)