mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 13:48:49 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
15 lines
347 B
Java
15 lines
347 B
Java
// "Replace with 'replaceAll()' call" "true"
|
|
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
Map<String, String> vals = new HashMap<>();
|
|
vals.put("foo", "bar");
|
|
String defaultValue = "42";
|
|
for<caret> (Entry entry : vals.entrySet()) {
|
|
vals.put(entry.getKey(), defaultValue);
|
|
}
|
|
}
|
|
}
|