Ignore:
Timestamp:
2020-05-17T14:16:47+02:00 (4 years ago)
Author:
simon04
Message:

see #19251 - Fix MapListSetting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/spi/preferences/MapListSetting.java

    r16436 r16437  
    22package org.openstreetmap.josm.spi.preferences;
    33
     4import java.util.Collections;
    45import java.util.LinkedHashMap;
    56import java.util.List;
     
    89
    910import org.openstreetmap.josm.tools.StreamUtils;
    10 import org.openstreetmap.josm.tools.Utils;
    1111
    1212/**
     
    3131        List<Map<String, String>> copy = value.stream()
    3232                .map(LinkedHashMap::new)
    33                 .map(Utils::toUnmodifiableMap)
     33                .map(Collections::unmodifiableMap)
    3434                .collect(StreamUtils.toUnmodifiableList());
    3535        return new MapListSetting(copy);
Note: See TracChangeset for help on using the changeset viewer.