Skip to content

Commit fee38b3

Browse files
committed
Java: Fixup test
1 parent 1e12c11 commit fee38b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/test/library-tests/dataflow/threat-models/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void M4(Statement handle) throws Exception {
5959
}
6060

6161
public void M5(Statement handle) throws Exception {
62-
// Only a source if "commandargs" is a selected threat model.
62+
// Only a source if "stdin" is a selected threat model.
6363
byte[] data = new byte[1024];
6464
System.in.read(data);
6565

java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest5.ext.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ extensions:
55
extensible: threatModelConfiguration
66
data:
77
- ["environment", true, 0]
8-
- ["commandargs", true, 0]
8+
- ["stdin", true, 0]
99

1010
- addsTo:
1111
pack: codeql/java-all

0 commit comments

Comments
 (0)