mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
Migrate to simplified collection: Map support
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user