mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 11:47:50 +07:00
15 lines
331 B
Java
15 lines
331 B
Java
// "Change type of 'res' to StringBuilder" "true"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
String res = "";
|
|
for (String s : strings) {
|
|
if (/*before*/!res/*within*/.isEmpty()) {
|
|
res += ", ";
|
|
}
|
|
res <caret>+= s;
|
|
}
|
|
return res;
|
|
}
|
|
}
|