mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
'map.putAll(Collections.singletonMap(k, v))' -> 'map.put(k, v)' 'collection.addAll(Collections.singleton(e))' -> 'collection.add(e)' (IJ-CR-13981) GitOrigin-RevId: f4f4b6b1c190f89a2430309fc2658f321a518e6d
8 lines
171 B
Java
8 lines
171 B
Java
// "Replace with 'put()'" "true"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void test(Map<Integer, String> map) {
|
|
map.put<caret>All(Collections.singletonMap(1, "one"));
|
|
}
|
|
} |