Ignore:
Timestamp:
2017-09-13T16:30:27+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - fix deprecations caused by [12840]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r12671 r12841  
    229229        }
    230230
    231         int maxsize = Math.max(0, Main.pref.getInteger("file-open.history.max-size", 15));
    232         Collection<String> oldHistory = Main.pref.getCollection("file-open.history");
     231        int maxsize = Math.max(0, Main.pref.getInt("file-open.history.max-size", 15));
     232        Collection<String> oldHistory = Main.pref.getList("file-open.history");
    233233        List<String> history = new LinkedList<>(oldHistory);
    234234        history.remove(filepath);
Note: See TracChangeset for help on using the changeset viewer.