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/gui/download/BookmarkList.java

    r12743 r12841  
    300300     */
    301301    public final void save() {
    302         List<Collection<String>> coll = new LinkedList<>();
     302        List<List<String>> coll = new LinkedList<>();
    303303        for (Object o : ((DefaultListModel<Bookmark>) getModel()).toArray()) {
    304304            if (o instanceof HomeLocationBookmark || o instanceof ChangesetBookmark) {
     
    315315            coll.add(Arrays.asList(array));
    316316        }
    317         Main.pref.putArray("bookmarks", coll);
     317        Main.pref.putListOfLists("bookmarks", coll);
    318318    }
    319319
Note: See TracChangeset for help on using the changeset viewer.