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/preferences/ToolbarPreferences.java

    r8308 r8338  
    10711071     */
    10721072    public void addCustomButton(String definitionText, int preferredIndex, boolean removeIfExists) {
    1073         LinkedList<String> t = new LinkedList<>(getToolString());
     1073        List<String> t = new LinkedList<>(getToolString());
    10741074        if (t.contains(definitionText)) {
    10751075            if (!removeIfExists) return; // do nothing
Note: See TracChangeset for help on using the changeset viewer.