Ignore:
Timestamp:
2015-05-07T01:27:41+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:S1319 - Declarations should use Java collection interfaces rather than specific implementation classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BookmarkList.java

    r8291 r8338  
    158158        Collection<Collection<String>> args = Main.pref.getArray("bookmarks", null);
    159159        if(args != null) {
    160             LinkedList<Bookmark> bookmarks = new LinkedList<>();
     160            List<Bookmark> bookmarks = new LinkedList<>();
    161161            for(Collection<String> entry : args) {
    162162                try {
     
    178178     */
    179179    public final void save() {
    180         LinkedList<Collection<String>> coll = new LinkedList<>();
     180        List<Collection<String>> coll = new LinkedList<>();
    181181        for (Object o : ((DefaultListModel<Bookmark>)getModel()).toArray()) {
    182182            String[] array = new String[5];
Note: See TracChangeset for help on using the changeset viewer.