mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
11 lines
234 B
Java
11 lines
234 B
Java
class Test {
|
|
void test(Object obj) {
|
|
if (obj instanceof String) {
|
|
String temp = (String) obj;
|
|
if (!temp.isEmpty()) {
|
|
System.out.println(temp.trim());
|
|
}
|
|
}
|
|
}
|
|
}
|