mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 19:58:23 +07:00
12 lines
225 B
Java
12 lines
225 B
Java
// "Replace with sum()" "false"
|
|
|
|
public class Main {
|
|
public long test(String[] array) {
|
|
float i = 0;
|
|
for(String a : ar<caret>ray) {
|
|
if(a.startsWith("xyz"))
|
|
i = i + a.length();
|
|
}
|
|
return i;
|
|
}
|
|
} |