mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
15 lines
334 B
Java
15 lines
334 B
Java
// "Replace with 'replaceAll' method call" "true"
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
public void test() {
|
|
Map<String, String> map = new HashMap<>();
|
|
map = new HashMap<>();
|
|
map.put("foo", "bar");
|
|
for<caret> (String key : map.keySet()) {
|
|
map.put(key, map.get(key));
|
|
}
|
|
}
|
|
} |