mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
13 lines
229 B
Java
13 lines
229 B
Java
|
|
class Test {
|
|
boolean check(String s) {
|
|
if (s == null) return false;
|
|
s = s.trim();
|
|
if (s.isEmpty()) return false;
|
|
return s.length() % 2 == 0;
|
|
}
|
|
|
|
boolean use(String s) {
|
|
return !<caret>check(s + s);
|
|
}
|
|
} |