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/tagging/TaggingPresets.java

    r7937 r8338  
    55import java.util.Collection;
    66import java.util.HashMap;
     7import java.util.Map;
    78
    89import javax.swing.JMenu;
     
    5152        } else {
    5253            AutoCompletionManager.cachePresets(taggingPresets);
    53             HashMap<TaggingPresetMenu,JMenu> submenus = new HashMap<>();
     54            Map<TaggingPresetMenu,JMenu> submenus = new HashMap<>();
    5455            for (final TaggingPreset p : taggingPresets) {
    5556                JMenu m = p.group != null ? submenus.get(p.group) : Main.main.menu.presetsMenu;
Note: See TracChangeset for help on using the changeset viewer.