mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 09:05:52 +07:00
17 lines
311 B
Java
17 lines
311 B
Java
import org.jetbrains.annotations.*;
|
|
import java.io.IOException;
|
|
|
|
class Foo {
|
|
public void x() throws IOException {
|
|
@Nullable String foo = "";
|
|
while (foo.length() == 0) {
|
|
foo = y();
|
|
if (foo == null) throw new IOException("foo");
|
|
}
|
|
}
|
|
|
|
public String y() {
|
|
return "";
|
|
}
|
|
}
|