Files
openide/java/java-tests/testData/inspection/java9CollectionFactory/afterHashMapSimple.java
T

9 lines
181 B
Java

// "Replace with 'Map.of' call" "true"
import java.util.*;
public class Test {
public void test() {
Map<String, String> myMap;
myMap = Map.of("a", "b", "c", "b");
}
}