mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
297 B
Java
17 lines
297 B
Java
class Test {
|
|
|
|
private boolean test(String s) {
|
|
if(s != null) {
|
|
s = s.trim();
|
|
if (s.isEmpty()) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
void use(String s) {
|
|
if(<caret>test(s+s)) throw new IllegalArgumentException();
|
|
System.out.println("woohoo");
|
|
}
|
|
} |