mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 13:35:58 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
9 lines
191 B
Java
9 lines
191 B
Java
// "Use removal by object" "true-preview"
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
void test(List<String> list, String key) {
|
|
int idx = list.indexOf(key);
|
|
list.r<caret>emove(idx);
|
|
}
|
|
} |