blob: a88ba34fc67c35ea6a9cf8b07a7c132a9079ad1e [file]
// "Replace with 'replaceAll' method call" "false"
import java.util.HashMap;
import java.util.Map;
public class Main {
public void test() {
Map<String, String> map = new HashMap<>();
map.put("foo", "bar");
for<caret> (Map.Entry<String, String> entry : map.entrySet()) {
map.put(entry.getKey(), String.valueOf(entry));
}
}
}