File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
java/ql/lib/semmle/code/java/dataflow Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -277,11 +277,22 @@ private class FileInput extends LocalUserInput {
277
277
override string getThreatModel ( ) { result = "file" }
278
278
}
279
279
280
+ /**
281
+ * DEPRECATED: Use the threat models feature.
282
+ * That is, use `ThreatModelFlowSource` as the class of nodes for sources
283
+ * and set up the threat model configuration to filter source nodes.
284
+ * Alternatively, use `getThreatModel` to filter nodes to create the
285
+ * class of nodes you need.
286
+ *
287
+ * A node with input from a database.
288
+ */
289
+ deprecated class DatabaseInput = DbInput ;
290
+
280
291
/**
281
292
* A node with input from a database.
282
293
*/
283
- private class DatabaseInput extends LocalUserInput {
284
- DatabaseInput ( ) { this .asExpr ( ) .( MethodAccess ) .getMethod ( ) instanceof ResultSetGetStringMethod }
294
+ private class DbInput extends LocalUserInput {
295
+ DbInput ( ) { this .asExpr ( ) .( MethodAccess ) .getMethod ( ) instanceof ResultSetGetStringMethod }
285
296
286
297
override string getThreatModel ( ) { result = "database" }
287
298
}
You can’t perform that action at this time.
0 commit comments