Changeset 18280 in josm


Ignore:
Timestamp:
2021-10-17T06:21:49+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21420 - fix type mismatch warning (patch by marcello)

File:
1 edited

Legend:

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

    r18257 r18280  
    298298     * @return the list or null
    299299     */
    300     @SuppressWarnings("unchecked")
    301     public JList<E> getList() {
     300    @SuppressWarnings("rawtypes")
     301    public JList getList() {
    302302        Object popup = getUI().getAccessibleChild(this, 0);
    303303        if (popup != null && popup instanceof javax.swing.plaf.basic.ComboPopup) {
     
    306306        return null;
    307307    }
    308 
    309     // get the popup list
    310308
    311309    /**
     
    388386        try {
    389387            // First try an implementation-dependent method to get the exact number.
     388            @SuppressWarnings("unchecked")
    390389            JList<E> jList = getList();
    391390
Note: See TracChangeset for help on using the changeset viewer.