Skip to content

Commit 2512213

Browse files
mbaludaCopilot
andauthored
Update java/ql/test/library-tests/frameworks/micronaut/MicronautConfigTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4c821dd commit 2512213

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎java/ql/test/library-tests/frameworks/micronaut/MicronautConfigTest.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ void sink(Object o) {}
1515

1616
@Get("/secret")
1717
void testValueField() {
18-
sink(secretValue);
18+
sink(secretValue); // $hasTaintFlow
1919
}
2020

2121
@Get("/key")
2222
void testPropertyField() {
23-
sink(apiKey);
23+
sink(apiKey); // $hasTaintFlow
2424
}
2525

2626
@Get("/param")
2727
void testValueParam(@Value("${app.name}") String appName) {
28-
sink(appName);
28+
sink(appName); // $hasTaintFlow
2929
}
3030
}

0 commit comments

Comments
 (0)