mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
13 lines
297 B
Java
13 lines
297 B
Java
// "Convert variable 'res' from String to StringBuilder" "true"
|
|
|
|
public class Main {
|
|
String test(String[] strings) {
|
|
String res = "";
|
|
for (String s : strings) {
|
|
res <caret>+= s;
|
|
}
|
|
res = res.trim();
|
|
return res.isEmpty() ? null : res;
|
|
}
|
|
}
|