Skip to content

Commit c448767

Browse files
committed
Java: Swap input and ext
1 parent f666260 commit c448767

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

java/ql/src/Telemetry/AutomodelAlertSinkUtil.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ private import AutomodelJavaUtil
1313

1414
private newtype TSinkModel =
1515
MkSinkModel(
16-
string package, string type, boolean subtypes, string name, string signature, string input,
17-
string ext, string kind, string provenance
16+
string package, string type, boolean subtypes, string name, string signature, string ext,
17+
string input, string kind, string provenance
1818
) {
1919
ExternalFlow::sinkModel(package, type, subtypes, name, signature, ext, input, kind, provenance)
2020
}
@@ -25,13 +25,13 @@ class SinkModel extends TSinkModel {
2525
boolean subtypes;
2626
string name;
2727
string signature;
28-
string input;
2928
string ext;
29+
string input;
3030
string kind;
3131
string provenance;
3232

3333
SinkModel() {
34-
this = MkSinkModel(package, type, subtypes, name, signature, input, ext, kind, provenance)
34+
this = MkSinkModel(package, type, subtypes, name, signature, ext, input, kind, provenance)
3535
}
3636

3737
/** Gets the package for this sink model. */
@@ -68,7 +68,7 @@ class SinkModel extends TSinkModel {
6868
string toString() {
6969
result =
7070
"SinkModel(" + package + ", " + type + ", " + subtypes + ", " + name + ", " + signature + ", "
71-
+ input + ", " + ext + ", " + kind + ", " + provenance + ")"
71+
+ ext + ", " + input + ", " + kind + ", " + provenance + ")"
7272
}
7373

7474
/** Gets a string representation of this sink model as it would appear in a Models-as-Data file. */

0 commit comments

Comments
 (0)