Changeset 6288 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2013-10-02T01:05:56+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - Remove unneeded Vector usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/JosmComboBox.java

    r6017 r6288  
    1212import java.util.Arrays;
    1313import java.util.Collection;
    14 import java.util.Vector;
    1514
    1615import javax.accessibility.Accessible;
     
    9998        super(items);
    10099        init(findPrototypeDisplayValue(Arrays.asList(items)));
    101     }
    102 
    103     /**
    104      * Creates a <code>JosmComboBox</code> that contains the elements
    105      * in the specified Vector. By default the first item in the vector
    106      * (and therefore the data model) becomes selected.
    107      *
    108      * @param items  an array of vectors to insert into the combo box
    109      * @see DefaultComboBoxModel
    110      */
    111     public JosmComboBox(Vector<?> items) {
    112         super(items);
    113         init(findPrototypeDisplayValue(items));
    114100    }
    115101   
Note: See TracChangeset for help on using the changeset viewer.