mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
19 lines
267 B
Java
19 lines
267 B
Java
import org.checkerframework.checker.tainting.qual.*;
|
|
|
|
class Simple {
|
|
|
|
@Untainted
|
|
String a(@Untainted String str) {
|
|
return str + "";
|
|
}
|
|
|
|
void test() {
|
|
@Untainted String s;
|
|
s = a(foo());
|
|
}
|
|
|
|
@Untainted
|
|
String foo() {
|
|
return "safe";
|
|
}
|
|
} |