blob: 70ccd72df9f59a394bd6fa509276cae6ad53f4b0 [file]
class Test {
void test(boolean b, Object o1, Object o2) {
if (!((b ? o1 : o2) instanceof String)) return;
System.out.println(((String) (b ? o1 : o2)).isEmpty());
System.out.println(((String) (b ? o1 : o2)).trim().isEmpty());
}
}