mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
329 B
Java
13 lines
329 B
Java
// "Convert variable 'res' from String to StringBuilder" "true-preview"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
StringBuilder res = new StringBuilder();
|
|
for (String s : strings) {
|
|
res.append(s).append("\n");
|
|
res.append(s);
|
|
}
|
|
return res.toString();
|
|
}
|
|
}
|