Как включить загрузку изображений и документов в MediaWiki без входа

Вот краткий пример того, почему компилятор не может принять этот параметр:

    public static void main(String[] args) {
        //if this would be accepted here ...
        accept(new HashMap<String, List<String>>());
    }

    public static void accept(Map<String, List<?>> multiMap) {
        //this is valid considering the type of multiMap parameter,
        //but would not work with the actual passed parameter.
        multiMap.put("test", new ArrayList<Integer>());
    }
1
задан DaniKR 17 January 2019 в 11:57
поделиться