mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
9 lines
232 B
Java
9 lines
232 B
Java
import org.jetbrains.annotations.Contract;
|
|
|
|
class C {
|
|
@Contract("null -> false")
|
|
public static boolean checkSomething(Object o1) {
|
|
if(!(o1 instanceof String)) return false;
|
|
return Math.random() > 0.5;
|
|
}
|
|
} |