mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
15 lines
320 B
Java
15 lines
320 B
Java
// "Change type of 'res' to StringBuilder" "true"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
String res = "";
|
|
for (String s : strings) {
|
|
if (!res.isEmpty()) {
|
|
res = "." + res;
|
|
}
|
|
res = s <caret>+ res;
|
|
}
|
|
return res;
|
|
}
|
|
}
|