Files
openide/jvm/jvm-analysis-java-tests/testData/codeInspection/sourceToSinkFlow/propagateSafe/afterParameter.java
Artemiy Sartakov 40936f24bf SourceToSinkFlowInspection: added fix to propagate safe annotation
GitOrigin-RevId: 03b5b73ec32510624858245e9024152a7341b3ff
2021-10-01 11:32:07 +00:00

11 lines
207 B
Java

// "Propagate safe annotation from 's'" "true"
import org.checkerframework.checker.tainting.qual.*;
class Simple {
void test(@Untainted String s) {
sink(s);
}
void sink(@Untainted String s) {}
}