mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
13 lines
267 B
Java
13 lines
267 B
Java
import org.jetbrains.annotations.Contract;
|
|
|
|
class C {
|
|
@Contract(value = "!null, _ -> false; null, null -> false; null, !null -> true", pure = true)
|
|
boolean f<caret>oo(String s, String s2) {
|
|
return s == null && s2 != null;
|
|
}
|
|
|
|
void bar() {
|
|
foo();
|
|
}
|
|
}
|