Migrate to simplified collection: Map support

This commit is contained in:
Tagir Valeev
2017-02-27 17:23:21 +07:00
parent 05a2a29300
commit 0deb0dac6f
7 changed files with 118 additions and 31 deletions
@@ -0,0 +1,9 @@
// "Replace with 'Map.of' call" "true"
import java.util.*;
public class Test {
public void test() {
Map<String, String> myMap;
myMap = Map.of("a", "1", "b", "1", "c", "1", "d", "1", "e", "1", "f", "1", "g", "1", "h", "1", "i", "1", "j", "1");
}
}