mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 23:50:57 +07:00
Partially fixes IDEA-180178 String concatenation as argument to 'StringBuilder.append()' call should be smarter
12 lines
269 B
Java
12 lines
269 B
Java
// "Convert variable 'res' from String to StringBuilder" "true"
|
|
|
|
public class Main {
|
|
String test(int[] ints) {
|
|
StringBuilder res = new StringBuilder();
|
|
for (int i : ints) {
|
|
res.append(i);
|
|
}
|
|
return res.toString();
|
|
}
|
|
}
|