Ignore:
Timestamp:
2014-04-27T17:34:22+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8465 - fix generics for JComboBox/JList

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/CodeProjectionChoice.java

    r7005 r7015  
    115115            filter.getDocument().addDocumentListener(this);
    116116
    117             selectionList = new JList(data.toArray());
     117            selectionList = new JList<>(data.toArray(new String[0]));
    118118            selectionList.setModel(model = new ProjectionCodeListModel());
    119119            JScrollPane scroll = new JScrollPane(selectionList);
Note: See TracChangeset for help on using the changeset viewer.