Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/useBulkOperation/afterQualifiedSuperEntrySet.java
T
2022-01-31 10:13:13 +00:00

12 lines
288 B
Java

// "Replace iteration with bulk 'Map.putAll()' call" "true"
import java.util.HashMap;
import java.util.Map;
class Main extends HashMap<String, Integer> {
class Nested {
void test() {
Map<String, Integer> result = new HashMap<>();
result.putAll(Main.this);
}
}
}