mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
15 lines
342 B
Java
15 lines
342 B
Java
// "Convert variable 'res' from String to StringBuilder" "true-preview"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
String res = "";
|
|
for (String s : strings) {
|
|
if (!res.isEmpty()) {
|
|
res = "." + res;
|
|
}
|
|
res = s <caret>+ res;
|
|
}
|
|
return res;
|
|
}
|
|
}
|