Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantCollectionOperation/beforeRemoveByIndexVar.java
T
2017-12-25 17:39:36 +07:00

9 lines
183 B
Java

// "Use removal by object" "true"
import java.util.List;
class Test {
void test(List<String> list, String key) {
int idx = list.indexOf(key);
list.r<caret>emove(idx);
}
}