mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 08:27:11 +07:00
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
12 lines
296 B
Java
12 lines
296 B
Java
// "Replace iteration with bulk 'Map.putAll()' call" "true-preview"
|
|
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);
|
|
}
|
|
}
|
|
} |