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