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/OpenLocationAction.java

    r12675 r12841  
    104104     */
    105105    protected void restoreUploadAddressHistory(HistoryComboBox cbHistory) {
    106         List<String> cmtHistory = new LinkedList<>(Main.pref.getCollection(getClass().getName() + ".uploadAddressHistory",
     106        List<String> cmtHistory = new LinkedList<>(Main.pref.getList(getClass().getName() + ".uploadAddressHistory",
    107107                new LinkedList<String>()));
    108108        // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement()
     
    118118    protected void remindUploadAddressHistory(HistoryComboBox cbHistory) {
    119119        cbHistory.addCurrentItemToHistory();
    120         Main.pref.putCollection(getClass().getName() + ".uploadAddressHistory", cbHistory.getHistory());
     120        Main.pref.putList(getClass().getName() + ".uploadAddressHistory", cbHistory.getHistory());
    121121    }
    122122
Note: See TracChangeset for help on using the changeset viewer.