mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 04:50:58 +07:00
13 lines
366 B
Java
13 lines
366 B
Java
// "Convert variable 'res' from String to StringBuilder" "true"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
StringBuilder res = new StringBuilder();
|
|
for (String s : strings) {
|
|
res.append(s);
|
|
}
|
|
res = new StringBuilder(res.toString().trim());
|
|
return (res.length() == 0) ? null : res.toString();
|
|
}
|
|
}
|