mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
17 lines
345 B
Java
17 lines
345 B
Java
// "Replace with collect" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Test {
|
|
static String test(List<String> list) {
|
|
StringBuilder sb = new StringBuilder();
|
|
System.out.println("hello");
|
|
for(String s : li<caret>st) {
|
|
if(!s.isEmpty()) {
|
|
sb.append(s);
|
|
}
|
|
}
|
|
sb.append("xyz");
|
|
return sb.toString();
|
|
}
|
|
} |