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