mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 02:15:59 +07:00
10 lines
234 B
Java
10 lines
234 B
Java
class Test {
|
|
|
|
void f(String value) {
|
|
final int index = -1;
|
|
while ((<error descr="Cannot assign a value to final variable 'index'">index</error> = value.indexOf('a')) != -1) {
|
|
value = value.substring(0, 1);
|
|
}
|
|
}
|
|
|
|
} |